Comparing version 0.1.13 to 0.1.14
@@ -224,3 +224,9 @@ 'use strict' | ||
if (typeof obj2[i] === 'object') { | ||
!obj1[i] && (obj1[i] = {}) | ||
if (obj2[i] instanceof Array) { | ||
obj1[i] = tools.object.clone(obj2[i]) | ||
continue | ||
} | ||
if (!obj1[i] || typeof obj1[i] !== 'object') { | ||
obj1[i] = {} | ||
} | ||
tools.object.merge(obj1[i], obj2[i]) | ||
@@ -227,0 +233,0 @@ } else { |
{ | ||
"name": "a-toolbox", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "javascript lightweight basic tools", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28926
796