json-stable-stringify-pretty
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -29,2 +29,6 @@ var json = typeof JSON !== 'undefined' ? JSON : require('jsonify'); | ||
// A custom hack for mongodb objectids. | ||
if (node && node.toHexString && typeof node.toHexString === 'function') { | ||
node = 'id$' + node.toHexString(); | ||
} | ||
if (node && node.toJSON && typeof node.toJSON === 'function') { | ||
@@ -31,0 +35,0 @@ node = node.toJSON(); |
{ | ||
"name": "json-stable-stringify-pretty", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A fork of substack's json-stable-stringify: deterministic JSON.stringify() with useful options", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
19766
17
410