postcss-color-rebeccapurple
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -0,1 +1,5 @@ | ||
# 4.0.1 - 2018-09-18 | ||
- Updated: PostCSS Values Parser v2+ | ||
# 4.0.0 - 2018-09-17 | ||
@@ -2,0 +6,0 @@ |
@@ -17,5 +17,5 @@ /** | ||
if (value && regexp.test(value)) { | ||
const ast = valueParser(value).parse() | ||
const valueAST = valueParser(value).parse() | ||
ast.walk(node => { | ||
valueAST.walk(node => { | ||
if (node.type === "word" && node.value === "rebeccapurple") { | ||
@@ -26,5 +26,5 @@ node.value = color | ||
decl.value = ast.toString() | ||
decl.value = valueAST.toString() | ||
} | ||
}) | ||
}) |
{ | ||
"name": "postcss-color-rebeccapurple", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "PostCSS plugin to transform W3C CSS rebeccapurple color to more compatible CSS (rgb())", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"postcss": "^7.0.2", | ||
"postcss-values-parser": "^1.5.0" | ||
"postcss-values-parser": "^2.0.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
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
5447
+ Addedpostcss-values-parser@2.0.1(transitive)
- Removedpostcss-values-parser@1.5.0(transitive)
Updatedpostcss-values-parser@^2.0.0