postcss-normalize-url
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -29,2 +29,6 @@ 'use strict'; | ||
eachFunction(declaration, 'url', function (substring) { | ||
// Don't mangle embedded base64 or svg images | ||
if (~substring.indexOf('data:image/')) { | ||
return substring; | ||
} | ||
var url = substring.replace(extractUrl, '$1').trim(); | ||
@@ -31,0 +35,0 @@ url = url.replace(unquote, function (m, quote, body) { |
{ | ||
"name": "postcss-normalize-url", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Normalize URLs with PostCSS", | ||
@@ -14,2 +14,4 @@ "main": "index.js", | ||
"optimisation", | ||
"postcss", | ||
"postcss-plugins", | ||
"url" | ||
@@ -16,0 +18,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
5890
64