postcss-value-parser
Advanced tools
Comparing version 4.0.3 to 4.1.0
@@ -28,4 +28,4 @@ declare namespace postcssValueParser { | ||
/** | ||
* The token at the end of the node | ||
*/ | ||
* The token at the end of the node | ||
*/ | ||
after: string; | ||
@@ -89,3 +89,3 @@ } | ||
*/ | ||
(nodes: Node): string; | ||
(nodes: Node): string | undefined; | ||
} | ||
@@ -100,3 +100,3 @@ | ||
*/ | ||
(node: Node, index: number, nodes: Node[]): void | false; | ||
(node: Node, index: number, nodes: Node[]): void | boolean; | ||
} | ||
@@ -103,0 +103,0 @@ |
@@ -19,3 +19,3 @@ function stringifyNode(node, custom) { | ||
} else if (Array.isArray(node.nodes)) { | ||
buf = stringify(node.nodes); | ||
buf = stringify(node.nodes, custom); | ||
if (type !== "function") { | ||
@@ -22,0 +22,0 @@ return buf; |
{ | ||
"name": "postcss-value-parser", | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
"description": "Transforms css values and at-rule params into the tree", | ||
@@ -18,3 +18,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"lint:prettier": "prettier '**/*.js' --list-different", | ||
"lint:prettier": "prettier '**/*.js' '**/*.ts' --list-different", | ||
"lint:js": "eslint . --cache", | ||
@@ -21,0 +21,0 @@ "lint": "yarn lint:js && yarn lint:prettier", |
26322