broccoli-asset-rev
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -27,8 +27,8 @@ var Filter = require('broccoli-filter'); | ||
* | ||
* ["\'\\(]{1} - Match one of "'( exactly one time | ||
* ["\'\\(=]{1} - Match one of "'(= exactly one time | ||
* \\s* - Any amount of white space | ||
* ( - Starts the first pattern match | ||
* [^"\'\\(\\)]* - Do not match any of ^"'() 0 or more times | ||
* [^"\'\\(\\)=]* - Do not match any of ^"'()= 0 or more times | ||
* /([.*+?^=!:${}()|\[\]\/\\])/g - Replace .*+?^=!:${}()|[]/\ in filenames with an escaped version for an exact name match | ||
* [^"\'\\(\\)\\\\]* - Do not match any of ^"'()\ 0 or more times - Explicitly add \ here because of handlebars compilation | ||
* [^"\'\\(\\)\\\\>=]* - Do not match any of ^"'()\>= 0 or more times - Explicitly add \ here because of handlebars compilation | ||
* ) - End first pattern match | ||
@@ -38,3 +38,3 @@ * \\s* - Any amount of white space | ||
* \\s* - Any amount of white space | ||
* ["\'\\)]{1} - Match one of "'( exactly one time | ||
* ["\'\\)> ]{1} - Match one of "'( > exactly one time | ||
*/ | ||
@@ -44,3 +44,3 @@ | ||
if (this.assetMap.hasOwnProperty(key)) { | ||
var re = new RegExp('["\'\\(]{1}\\s*([^"\'\\(\\)]*' + key.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1") + '[^"\'\\(\\)\\\\]*)\\s*[\\\\]*\\s*["\'\\)]{1}', 'g'); | ||
var re = new RegExp('["\'\\(=]{1}\\s*([^"\'\\(\\)=]*' + key.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1") + '[^"\'\\(\\)\\\\>=]*)\\s*[\\\\]*\\s*["\'\\)> ]{1}', 'g'); | ||
var match = null; | ||
@@ -47,0 +47,0 @@ |
{ | ||
"name": "broccoli-asset-rev", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "broccoli asset revisions (fingerprint)", | ||
@@ -5,0 +5,0 @@ "main": "lib/asset-rev.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
7924