json.decycled
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -17,3 +17,3 @@ /* jslint node: true */ | ||
function decycler(val,deep){ | ||
var config = typeof deep === 'number'?{deep:deep}:deep || {}; | ||
var config = typeof deep === 'number'?{deep:deep}:(deep || {}); | ||
config.deep = config.deep || 10; | ||
@@ -23,3 +23,3 @@ return decycleWalker([],[],val,config); | ||
function decycled(val,deep,spacer){ | ||
var config = typeof deep === 'number'?{deep:deep}:deep || {}; | ||
var config = typeof deep === 'number'?{deep:deep}:(deep || {}); | ||
spacer = spacer || config.spacer; | ||
@@ -26,0 +26,0 @@ val = decycler(val,config); |
{ | ||
"name": "json.decycled", | ||
"description": "Decycled versión for JSON.stringify, resolve circulars, Regexp, Errors and dates. Reverse by JSON.revive().", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bifuer", |
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
9836