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

deep-clone-fn

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-clone-fn - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

deep-clone-fn.js

@@ -19,4 +19,6 @@ /* eslint-disable @typescript-eslint/no-unsafe-assignment */

}
Object.defineProperty(to, property, fromDescriptor);
if (fromDescriptor.writable) {
if (fromDescriptor.writable === false) {
Object.defineProperty(to, property, fromDescriptor);
}
else {
to[property] = clone(from[property]);

@@ -23,0 +25,0 @@ }

{
"name": "deep-clone-fn",
"version": "1.0.3",
"version": "1.0.4",
"description": "Deep clone a function.",

@@ -5,0 +5,0 @@ "license": "MIT",

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