New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

deep-clones

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-clones

### 介绍

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

deep-clones

介绍

只提供一个深拷贝方法,可以实现这些类型的深拷贝Object,Array,Date,
RegExp, Set, Map, WeakMap, WeakSet,简单易用。

安装

npm i -S deep-clones

加载

import deepClone from "deep-clones";
Vue.use(deepClone);

使用

let obj = {
  name: 'xiaoming',
  age: 18,
  sex: '男'
};
let objClone = this.deepClone(obj);

FAQs

Package last updated on 02 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts