broccoli-asset-rev
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63916
608
4
+ Addedjson-stable-stringify@^1.0.0
+ Addedcall-bind@1.0.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedjson-stable-stringify@1.1.1(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedset-function-length@1.2.2(transitive)