postcss-merge-idents
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,5 @@ | ||
# 2.1.1 | ||
* Updates postcss-value-parser to version 3 (thanks to @TrySound). | ||
# 2.1.0 | ||
@@ -2,0 +6,0 @@ |
'use strict'; | ||
var postcss = require('postcss'); | ||
var parser = require('postcss-value-parser'); | ||
var valueParser = require('postcss-value-parser'); | ||
@@ -54,3 +54,3 @@ function canonical (obj) { | ||
pair.decls.forEach(function (decl) { | ||
decl.value = parser(decl.value).walk(function (node) { | ||
decl.value = valueParser(decl.value).walk(function (node) { | ||
if (node.type === 'word') { | ||
@@ -63,4 +63,3 @@ node.value = canon(node.value); | ||
if (node.type === 'div') { | ||
node.before = ''; | ||
node.after = ''; | ||
node.before = node.after = ''; | ||
} | ||
@@ -67,0 +66,0 @@ }).toString(); |
{ | ||
"name": "postcss-merge-idents", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Merge keyframe and counter style identifiers.", | ||
@@ -32,4 +32,4 @@ "main": "index.js", | ||
"postcss": "^5.0.4", | ||
"postcss-value-parser": "^2.0.4" | ||
"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
6272
72
+ Addedpostcss-value-parser@3.3.1(transitive)
- Removedpostcss-value-parser@2.0.5(transitive)
Updatedpostcss-value-parser@^3.0.2