Comparing version 10.5.3 to 10.5.4
{ | ||
"name": "utilsac", | ||
"version": "10.5.3", | ||
"version": "10.5.4", | ||
"description": "Utility functions", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -274,3 +274,3 @@ export { | ||
const deepCopy = x => { | ||
if (!x || typeof x !== `object`) { | ||
if (typeof x !== `object` || x === null) { | ||
return x; | ||
@@ -313,3 +313,3 @@ } | ||
} | ||
if (!value || typeof value !== `object`) { | ||
if (typeof value !== `object` || value === null) { | ||
target[key] = value; | ||
@@ -316,0 +316,0 @@ return; |
23323