Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-asset-rev

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-asset-rev - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

10

lib/use-rev.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc