browserify-css
Advanced tools
Comparing version 0.8.3 to 0.8.4
@@ -89,3 +89,3 @@ 'use strict'; | ||
if ( ! url.match(absUrlRegEx) && ! url.match(protocolRegEx)) { | ||
// if both r[2] and r[3] are undefined, but r[1] is a string, it will be the case of url(path/to/foo.css) | ||
// If both r[2] and r[3] are undefined, but r[1] is a string, it will be the case of url(path/to/foo.css). | ||
quoteLen = ((r[2] || r[3]) && r[1]) ? 1 : 0; | ||
@@ -98,2 +98,3 @@ | ||
newUrl = processRelativeUrl(path.relative(from, to)); | ||
newUrl = newUrl.replace(/\\/g, '/'); // All URLs must use forward slashes | ||
@@ -100,0 +101,0 @@ source = source.substr(0, urlRegEx.lastIndex - url.length - quoteLen - 1) + newUrl + source.substr(urlRegEx.lastIndex - quoteLen - 1); |
{ | ||
"name": "browserify-css", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "A Browserify transform for bundling, rebasing, inlining, and minifying CSS files", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
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
2242102
20210