fast-safe-stringify
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -37,6 +37,6 @@ module.exports = stringify | ||
stack.push(val) | ||
var keys = Object.keys(val) | ||
for (var j = 0; j < keys.length; j++) { | ||
var key = keys[j] | ||
decirc(val[key], key, stack, val) | ||
for (var key in val) { | ||
if (Object.prototype.hasOwnProperty.call(val, key)) { | ||
decirc(val[key], key, stack, val) | ||
} | ||
} | ||
@@ -43,0 +43,0 @@ stack.pop() |
{ | ||
"name": "fast-safe-stringify", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Safely and quickly serialize JavaScript objects", | ||
@@ -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
13830