Comparing version 0.1.9 to 0.1.10
@@ -18,3 +18,8 @@ export function filterObject(object, predicate) { | ||
for (const key of keys) { | ||
to[key] = from[key] ?? defaults[key] ?? to[key]; | ||
try { | ||
to[key] = from[key] ?? defaults[key] ?? to[key]; | ||
} | ||
catch (e) { | ||
// Do nothing | ||
} | ||
} | ||
@@ -21,0 +26,0 @@ } |
{ | ||
"name": "utilium", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Typescript utilies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -27,3 +27,7 @@ import type * as FS from 'fs'; | ||
for (const key of keys) { | ||
to[key] = from[key] ?? defaults[key] ?? to[key]; | ||
try { | ||
to[key] = from[key] ?? defaults[key] ?? to[key]; | ||
} catch (e) { | ||
// Do nothing | ||
} | ||
} | ||
@@ -30,0 +34,0 @@ } |
25941
800