@apigames/json
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -6,3 +6,3 @@ { | ||
"license": "UNLICENSED", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"main": "index.js", | ||
@@ -30,3 +30,4 @@ "scripts": { | ||
"es6-promise": "^4.2.8", | ||
"jsonschema": "^1.2.6" | ||
"jsonschema": "^1.2.6", | ||
"lodash.clonedeep": "^4.5.0" | ||
}, | ||
@@ -33,0 +34,0 @@ "devDependencies": { |
@@ -1,2 +0,3 @@ | ||
const deepEqual = require("deep-equal"); | ||
const deepEqual = require("deep-equal"), | ||
clonedeep = require("lodash.clonedeep"); | ||
@@ -85,3 +86,3 @@ function isArray (value) { | ||
if (value) { | ||
return JSON.parse(JSON.stringify(value)); | ||
return clonedeep(value); | ||
} | ||
@@ -88,0 +89,0 @@ } |
27219
595
4
+ Addedlodash.clonedeep@^4.5.0
+ Addedlodash.clonedeep@4.5.0(transitive)