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.15 to 0.0.16

7

lib/fingerprint.js

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

var assets = { assets: assetMap, files: files };
fs.writeFileSync(destDir + '/assets/manifest.json', JSON.stringify(assets));
var contents = JSON.stringify(assets);
var hash = '';
var md5 = crypto.createHash('md5');
md5.update(contents);
hash = md5.digest('hex');
fs.writeFileSync(destDir + '/assets/manifest-' + hash + '.json', contents);
};

@@ -96,0 +101,0 @@

2

package.json
{
"name": "broccoli-asset-rev",
"version": "0.0.15",
"version": "0.0.16",
"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