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

@types/clone

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/clone - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

18

clone/index.d.ts

@@ -18,3 +18,9 @@ // Type definitions for clone 2.1

*/
declare function clone<T>(val: T, circular?: boolean, depth?: number, prototype?: any, includeNonEnumerable?: boolean): T;
declare function clone<T>(
val: T,
circular?: boolean,
depth?: number,
prototype?: any,
includeNonEnumerable?: boolean,
): T;

@@ -32,6 +38,6 @@ /**

interface CloneOpts {
circular?: boolean | undefined,
depth?: number | undefined,
prototype?: any,
includeNonEnumerable?: boolean | undefined
circular?: boolean | undefined;
depth?: number | undefined;
prototype?: any;
includeNonEnumerable?: boolean | undefined;
}

@@ -46,2 +52,2 @@

export = clone
export = clone;
{
"name": "@types/clone",
"version": "2.1.1",
"version": "2.1.2",
"description": "TypeScript definitions for clone",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/clone",

"dependencies": {},
"typesPublisherContentHash": "ecbf6592193e4a9b6a79a2e9b9a787d58a0be7a75ebd40ac3807c9696533575b",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "5d1a2b5bd37259ebe7aaae31d3485bbed74d1e67a9fa33fe051982e9395ea436",
"typeScriptVersion": "4.3"
}

@@ -28,3 +28,9 @@ # Installation

*/
declare function clone<T>(val: T, circular?: boolean, depth?: number, prototype?: any, includeNonEnumerable?: boolean): T;
declare function clone<T>(
val: T,
circular?: boolean,
depth?: number,
prototype?: any,
includeNonEnumerable?: boolean,
): T;

@@ -42,6 +48,6 @@ /**

interface CloneOpts {
circular?: boolean | undefined,
depth?: number | undefined,
prototype?: any,
includeNonEnumerable?: boolean | undefined
circular?: boolean | undefined;
depth?: number | undefined;
prototype?: any;
includeNonEnumerable?: boolean | undefined;
}

@@ -56,3 +62,3 @@

export = clone
export = clone;

@@ -62,3 +68,3 @@ ````

### Additional Details
* Last updated: Tue, 06 Jul 2021 18:05:53 GMT
* Last updated: Mon, 04 Sep 2023 15:40:54 GMT
* Dependencies: none

@@ -65,0 +71,0 @@ * Global values: none

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