lissa 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/utils/helper.js +6 -1
- package/package.json +1 -1
package/lib/utils/helper.js
CHANGED
|
@@ -22,7 +22,12 @@ export function deepMerge(...objects) {
|
|
|
22
22
|
let merged;
|
|
23
23
|
|
|
24
24
|
for (const obj of objects) {
|
|
25
|
-
if (obj
|
|
25
|
+
if (obj === undefined) continue;
|
|
26
|
+
|
|
27
|
+
if (obj === null) {
|
|
28
|
+
merged = obj;
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
26
31
|
|
|
27
32
|
if (obj instanceof AbortSignal) {
|
|
28
33
|
if (!merged) merged = obj;
|
package/package.json
CHANGED