broccoli-asset-rewrite
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -105,5 +105,13 @@ var Filter = require('broccoli-filter'); | ||
var match = null; | ||
/* | ||
* This is to ignore matches that should not be changed | ||
* Any URL encoded match that would be ignored above will be ignored by this: "'()=\ | ||
*/ | ||
var ignoreLibraryCode = new RegExp('(%22|%27|%5C|%28|%29|%3D)[^"\'\\(\\)=]*' + escapeRegExp(assetPath)); | ||
while (match = re.exec(newString)) { | ||
var replaceString = ''; | ||
if (ignoreLibraryCode.exec(match[1])) { | ||
continue; | ||
} | ||
@@ -110,0 +118,0 @@ if (this.prepend && this.prepend !== '') { |
{ | ||
"name": "broccoli-asset-rewrite", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "broccoli plugin to rewrite a source tree from an asset map.", | ||
@@ -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
21324
47
336