fast-safe-stringify
Advanced tools
Comparing version 1.1.12 to 1.1.13
module.exports = stringify | ||
stringify.default = stringify | ||
function stringify (obj) { | ||
if (typeof obj === 'object' && typeof obj.toJSON !== 'function') { | ||
if (obj !== null && typeof obj === 'object' && typeof obj.toJSON !== 'function') { | ||
decirc(obj, '', [], null) | ||
@@ -6,0 +6,0 @@ } |
{ | ||
"name": "fast-safe-stringify", | ||
"version": "1.1.12", | ||
"version": "1.1.13", | ||
"description": "Safely and quickly serialize JavaScript objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12810