@dra2020/baseclient 1.0.145 → 1.0.146
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/dist/baseclient.js +2 -2
- package/dist/baseclient.js.map +1 -1
- package/lib/util/util.ts +2 -2
- package/package.json +1 -1
package/lib/util/util.ts
CHANGED
|
@@ -327,7 +327,7 @@ export function deepEqual(o1: any, o2: any, options?: EqOptions): boolean
|
|
|
327
327
|
{
|
|
328
328
|
if (options && options.omitKey && options.omitKey[p])
|
|
329
329
|
continue;
|
|
330
|
-
if (o2[p] === undefined)
|
|
330
|
+
if (o2[p] === undefined && o1[p] !== undefined)
|
|
331
331
|
return false;
|
|
332
332
|
if (! deepEqual(o1[p], o2[p], options))
|
|
333
333
|
return false;
|
|
@@ -337,7 +337,7 @@ export function deepEqual(o1: any, o2: any, options?: EqOptions): boolean
|
|
|
337
337
|
{
|
|
338
338
|
if (options && options.omitKey && options.omitKey[p])
|
|
339
339
|
continue;
|
|
340
|
-
if (o1[p] === undefined)
|
|
340
|
+
if (o1[p] === undefined && o2[p] !== undefined)
|
|
341
341
|
return false;
|
|
342
342
|
}
|
|
343
343
|
|