From d3e1fb33cc78f5b0dd0f9f251e74a1cda525709e Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Tue, 18 Feb 2020 16:11:51 +0200 Subject: [PATCH 1/2] fix(types): stringify() accepts a single Node as well (#65) --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 36c052c..764c435 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -140,7 +140,7 @@ declare namespace postcssValueParser { * @param custom A custom stringifier callback * @returns The generated CSS value */ - stringify(nodes: Node[], custom?: CustomStringifierCallback): string; + stringify(nodes: Node | Node[], custom?: CustomStringifierCallback): string; /** * Walk a series of nodes, applying a callback From caeda6502a9f5a7a3b81bba845750eeb1b7d31d2 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Tue, 18 Feb 2020 17:57:57 +0300 Subject: [PATCH 2/2] chore(release): 4.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fdee637..44e04cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "postcss-value-parser", - "version": "4.0.2", + "version": "4.0.3", "description": "Transforms css values and at-rule params into the tree", "main": "lib/index.js", "files": [