postcss-convert-values
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -0,1 +1,5 @@ | ||
# 2.3.3 | ||
* Updates postcss-value-parser to version 3 (thanks to @TrySound). | ||
# 2.3.2 | ||
@@ -2,0 +6,0 @@ |
@@ -45,12 +45,10 @@ 'use strict'; | ||
if (node.value === 'calc' || node.value === 'hsl' || node.value === 'hsla') { | ||
node.nodes.forEach(function walkNodes(node) { | ||
(0, _postcssValueParser.walk)(node.nodes, function (node) { | ||
if (node.type === 'word') { | ||
parseWord(node, opts, true); | ||
} | ||
if (node.type === 'function') { | ||
node.nodes.forEach(walkNodes); | ||
} | ||
}); | ||
return false; | ||
} else if (node.value === 'url') { | ||
} | ||
if (node.value === 'url') { | ||
return false; | ||
@@ -57,0 +55,0 @@ } |
{ | ||
"name": "postcss-convert-values", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "Convert values with PostCSS (e.g. ms -> s)", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
"tap-spec": "^4.1.0", | ||
"tape": "^4.2.0" | ||
"tape": "^4.2.1" | ||
}, | ||
@@ -36,5 +36,5 @@ "homepage": "https://github.com/ben-eb/postcss-convert-values", | ||
"dependencies": { | ||
"postcss": "^5.0.4", | ||
"postcss-value-parser": "^2.0.2" | ||
"postcss": "^5.0.8", | ||
"postcss-value-parser": "^3.0.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10550
131
+ Addedpostcss-value-parser@3.3.1(transitive)
- Removedpostcss-value-parser@2.0.5(transitive)
Updatedpostcss@^5.0.8
Updatedpostcss-value-parser@^3.0.2