postcss-minify-font-values
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -46,3 +46,7 @@ var stringify = require('postcss-value-parser').stringify; | ||
if (node.type === 'string') { | ||
if (!opts.removeQuotes || intersection(node.value, keywords)) { | ||
if ( | ||
!opts.removeQuotes || | ||
intersection(node.value, keywords) || | ||
/[0-9]/.test(node.value.slice(0, 1)) | ||
) { | ||
return stringify(node); | ||
@@ -49,0 +53,0 @@ } |
@@ -0,0 +0,0 @@ var unit = require('postcss-value-parser').unit; |
{ | ||
"name": "postcss-minify-font-values", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Minify font declarations with PostCSS", | ||
@@ -11,3 +11,4 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "eslint index.js lib test && tape test/*.js | tap-spec" | ||
"test": "tape test/*.js | tap-spec", | ||
"posttest": "eslint index.js lib test" | ||
}, | ||
@@ -14,0 +15,0 @@ "author": "Bogdan Chadkin <trysound@yandex.ru>", |
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
10329
209