@dra2020/baseclient 1.0.155 → 1.0.156

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.
@@ -12350,6 +12350,32 @@ function deepEqual(o1, o2, options) {
12350
12350
  return false;
12351
12351
  if (typeof o2 !== 'object' || o2 == null)
12352
12352
  return false;
12353
+ // Special case Set
12354
+ if (o1 instanceof Set && o2 instanceof Set) {
12355
+ if (o1.size !== o2.size)
12356
+ return false;
12357
+ let eq = true;
12358
+ o1.forEach((k) => { if (!o2.has(k))
12359
+ eq = false; });
12360
+ return eq;
12361
+ }
12362
+ // Special case Map
12363
+ if (o1 instanceof Map && o2 instanceof Map) {
12364
+ if (o1.size !== o2.size)
12365
+ return false;
12366
+ let eq = true;
12367
+ o1.forEach((v1, k1) => {
12368
+ if (eq) {
12369
+ if (!o2.has(k1))
12370
+ eq = false;
12371
+ else {
12372
+ let v2 = o2.get(k1);
12373
+ eq = deepEqual(v1, v2, options);
12374
+ }
12375
+ }
12376
+ });
12377
+ return eq;
12378
+ }
12353
12379
  // Special case array
12354
12380
  if (Array.isArray(o1)) {
12355
12381
  if (!Array.isArray(o2))