Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json.decycled

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json.decycled - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

4

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc