deep-clone-map
Advanced tools
Comparing version 1.1.1 to 1.2.0
const Benchmark = require('benchmark') | ||
const deepCloneMap = require('deep-clone-map').default | ||
const deepCloneMap = require('../dist').default | ||
const testData = require('./test-data') | ||
@@ -4,0 +4,0 @@ const { addHtmlRow } = require('./util') |
const Benchmark = require('benchmark') | ||
const deepCloneMap = require('../dist/main').default | ||
const deepCloneMap = require('../dist').default | ||
const deepMap = require('deep-map') | ||
@@ -4,0 +4,0 @@ const mapObj = require('map-obj') |
{ | ||
"name": "deep-clone-map", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Deep clone and map complex nested objects", | ||
"main": "dist/main.js", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"prepublish": "tsc --project ./tsconfig-es5.json", | ||
"test": "jest" | ||
@@ -8,0 +9,0 @@ }, |
@@ -112,2 +112,8 @@ # Deep Clone Map | ||
##### For es5 support: | ||
```js | ||
import deepCloneMap from 'deep-clone-map/es5' | ||
``` | ||
#### Deeply clone an object: | ||
@@ -114,0 +120,0 @@ |
@@ -16,4 +16,4 @@ { | ||
"include": [ | ||
"main.ts" | ||
"index.ts" | ||
] | ||
} |
1434179
26
42133
300