postcss-minify-font-values
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,0 +0,0 @@ var stringify = require('postcss-value-parser').stringify; |
@@ -1,2 +0,2 @@ | ||
var parser = require('postcss-value-parser'); | ||
var unit = require('postcss-value-parser').unit; | ||
var keywords = require('./keywords'); | ||
@@ -25,3 +25,3 @@ var minifyFamily = require('./minify-family'); | ||
} | ||
} else if (~keywords.size.indexOf(node.value) || parser.unit(node.value)) { | ||
} else if (~keywords.size.indexOf(node.value) || unit(node.value)) { | ||
if (!hasSize) { | ||
@@ -28,0 +28,0 @@ familyStart = i; |
{ | ||
"name": "postcss-minify-font-values", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Minify font declarations with PostCSS", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "eslint index.js lib test && tape test/*.js" | ||
"test": "eslint index.js lib test && tape test/*.js | tap-spec" | ||
}, | ||
@@ -32,3 +32,3 @@ "author": "Bogdan Chadkin <trysound@yandex.ru>", | ||
"postcss": "^5.0.4", | ||
"postcss-value-parser": "^2.0.0", | ||
"postcss-value-parser": "^3.0.2", | ||
"uniqs": "^2.0.0" | ||
@@ -35,0 +35,0 @@ }, |
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
10063
+ Addedpostcss-value-parser@3.3.1(transitive)
- Removedpostcss-value-parser@2.0.5(transitive)
Updatedpostcss-value-parser@^3.0.2