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 2.4.0 to 2.4.1

tests/fixtures/extensions/input/loader.js/loader.js

2

lib/fingerprint.js

@@ -104,3 +104,3 @@ var fs = require('fs');

var ext = path.extname(relativePath);
var newPath = relativePath.replace(ext, '-' + hash + ext);
var newPath = relativePath.replace(new RegExp(ext+'$'), '-' + hash + ext);
this.assetMap[relativePath] = newPath;

@@ -107,0 +107,0 @@

{
"name": "broccoli-asset-rev",
"version": "2.4.0",
"version": "2.4.1",
"description": "broccoli asset revisions (fingerprint)",

@@ -5,0 +5,0 @@ "main": "lib/asset-rev.js",

@@ -108,3 +108,3 @@ var fs = require('fs');

it('accepts a string as exclude parameter', function () {
it('accepts an array of strings as exclude parameter', function () {
var sourcePath = 'tests/fixtures/exclude';

@@ -124,3 +124,3 @@

it("accepts a glob as exclude parameter", function() {
it("accepts an array of globs as exclude parameter", function() {
var sourcePath = 'tests/fixtures/exclude';

@@ -127,0 +127,0 @@

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