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.1.1 to 2.1.2

tests/fixtures/existing-manifest/output/assets/manifest-720c642d84386f45b9f1212e9c0b0f72.json

6

lib/fingerprint.js

@@ -6,2 +6,4 @@ var fs = require('fs');

var Promise = require('rsvp').Promise;
// JSON.stringify is not stable
var stringify = require('json-stable-stringify');

@@ -103,3 +105,3 @@ var MANIFEST_REGEX = /^manifest(-[0-9a-f]+)?.json$/;

fs.writeFileSync(destDir + '/assets/assetMap.json', JSON.stringify(toWrite));
fs.writeFileSync(destDir + '/assets/assetMap.json', stringify(toWrite));
};

@@ -153,3 +155,3 @@

var assets = { assets: assetMap, files: files }
var contents = new Buffer(JSON.stringify(assets));
var contents = new Buffer(stringify(assets));

@@ -156,0 +158,0 @@ if (this.exclude.indexOf('manifest.json') === -1) {

{
"name": "broccoli-asset-rev",
"version": "2.1.1",
"version": "2.1.2",
"description": "broccoli asset revisions (fingerprint)",

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

"broccoli-filter": "~0.2.0",
"json-stable-stringify": "^1.0.0",
"rsvp": "~3.0.6"

@@ -37,0 +38,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