clean-css
Advanced tools
Comparing version 3.4.7 to 3.4.8
@@ -0,1 +1,6 @@ | ||
[3.4.8 / 2015-11-13](https://github.com/jakubpawlowicz/clean-css/compare/v3.4.7...v3.4.8) | ||
================== | ||
* Fixed issue [#676](https://github.com/jakubpawlowicz/clean-css/issues/676) - fuzzy matching unqoted data URIs. | ||
[3.4.7 / 2015-11-10](https://github.com/jakubpawlowicz/clean-css/compare/v3.4.6...v3.4.7) | ||
@@ -2,0 +7,0 @@ ================== |
@@ -43,6 +43,6 @@ var URL_PREFIX = 'url('; | ||
nextEndAhead = data.indexOf(URL_SUFFIX, nextEnd + 1); | ||
// if it has whitespace then we should be out of URL, otherwise keep iterating | ||
// if it has not but content is not escaped, it has to be quoted so it will be captured | ||
// by either of two clauses above | ||
if (nextEndAhead == -1 || /\s/.test(data.substring(nextEnd, nextEndAhead))) | ||
// if it has whitespace, curly braces, or semicolon then we should be out of URL, | ||
// otherwise keep iterating if it has not but content is not escaped, | ||
// it has to be quoted so it will be captured by either of two clauses above | ||
if (nextEndAhead == -1 || /[\s\{\};]/.test(data.substring(nextEnd, nextEndAhead))) | ||
break; | ||
@@ -49,0 +49,0 @@ |
{ | ||
"name": "clean-css", | ||
"version": "3.4.7", | ||
"version": "3.4.8", | ||
"author": "Jakub Pawlowicz <contact@jakubpawlowicz.com> (http://twitter.com/jakubpawlowicz)", | ||
@@ -5,0 +5,0 @@ "description": "A well-tested CSS minifier", |
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
297345