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

fclone

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fclone - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "fclone",
"version": "1.0.3",
"version": "1.0.4",
"description": "Clone objects recursively by dropping circular references",

@@ -5,0 +5,0 @@ "main": "dist/fclone.js",

@@ -7,5 +7,3 @@ 'use strict';

if (obj instanceof Date) {
let copy = new Date();
copy.setTime(obj.getTime());
return copy;
return new Date(obj);
}

@@ -40,4 +38,2 @@

copy.stack = obj.stack;
refs.length && refs.length--
return copy;
}

@@ -44,0 +40,0 @@

Sorry, the diff of this file is not supported yet

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