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

@oozcitak/dom

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oozcitak/dom - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

lib/util/index.d.ts

@@ -25,3 +25,3 @@ import { GlobalStore } from './GlobalStore';

*/
export declare function clone<T>(obj: T): T;
export declare function clone<T extends Function | any[] | Object>(obj: T): T;
/**

@@ -28,0 +28,0 @@ * Type guard for boolean types

@@ -61,4 +61,8 @@ "use strict";

const result = {};
for (const [key, val] of Object.entries(obj)) {
result[key] = clone(val);
for (const key in obj) {
/* istanbul ignore next */
if (obj.hasOwnProperty(key)) {
const val = obj[key];
result[key] = clone(val);
}
}

@@ -65,0 +69,0 @@ return result;

{
"name": "@oozcitak/dom",
"version": "0.0.1",
"version": "0.0.2",
"keywords": [

@@ -5,0 +5,0 @@ "dom",

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