json.decycled
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -66,3 +66,3 @@ /* jslint node: true */ | ||
if(typeof val.constructor.name === 'string' && val.constructor.name.slice(-5)==='Array'){ | ||
if(parents.length>config.deep){ | ||
if(parents.length>=config.deep){ | ||
return '[Array:'+val.constructor.name+']'; | ||
@@ -77,3 +77,3 @@ } else { | ||
} else { | ||
if(parents.length>config.deep){ | ||
if(parents.length>=config.deep){ | ||
return '[Object:'+(val.constructor.name?val.constructor.name:'Object')+']'; | ||
@@ -80,0 +80,0 @@ } else { |
{ | ||
"name": "json.decycled", | ||
"description": "Decycled versión for JSON.stringify, resolve circulars, Regexp, Errors and dates. Reverse by JSON.revive().", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"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
9838