@contrail/util
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -11,3 +11,3 @@ "use strict"; | ||
for (const key in source) { | ||
if (isObject_1.isObject(source[key])) { | ||
if (isObject_1.isObject(source[key]) && !isDate(source[key])) { | ||
if (!target[key]) | ||
@@ -25,1 +25,4 @@ Object.assign(target, { [key]: {} }); | ||
exports.mergeDeep = mergeDeep; | ||
function isDate(object) { | ||
return object != null && object instanceof Date; | ||
} |
{ | ||
"name": "@contrail/util", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "General javascript utilities", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
16530
458