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.
@@ -22,7 +22,12 @@ export function deepMerge(...objects) {
22
22
  let merged;
23
23
 
24
24
  for (const obj of objects) {
25
- if (obj == null) continue;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lissa",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A lightweight, extensible HTTP client for modern JavaScript applications with fluent api syntax, hooks, plugins and more.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",