New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.1.0 to 1.1.1

tests/fixtures/extensions/input/assets/application.js

4

package.json
{
"name": "broccoli-asset-rev",
"version": "1.1.0",
"version": "1.1.1",
"description": "broccoli asset revisions (fingerprint)",

@@ -30,3 +30,3 @@ "main": "lib/asset-rev.js",

"dependencies": {
"broccoli-asset-rewrite": "^1.0.0",
"broccoli-asset-rewrite": "^1.0.1",
"broccoli-filter": "~0.1.6",

@@ -33,0 +33,0 @@ "rsvp": "~3.0.6"

@@ -81,2 +81,16 @@ var fs = require('fs');

it('replaces the correct match for the file extension', function () {
var sourcePath = 'tests/fixtures/extensions';
var tree = assetRev(sourcePath + '/input', {
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'woff', 'woff2', 'ttf', 'svg', 'eot'],
replaceExtensions: ['html', 'js' ,'css']
});
builder = new broccoli.Builder(tree);
return builder.build().then(function (graph) {
confirmOutput(graph.directory, sourcePath + '/output');
});
});
it('uses customHash string value', function(){

@@ -83,0 +97,0 @@ var sourcePath = 'tests/fixtures/customHash-simple';

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