mol_jsx_lib 0.0.45 → 0.0.46

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/node.esm.js CHANGED
@@ -1527,6 +1527,8 @@ var $;
1527
1527
  return Object.is(left.valueOf(), right['valueOf']());
1528
1528
  if (left instanceof RegExp)
1529
1529
  return left.source === right['source'] && left.flags === right['flags'];
1530
+ if (left instanceof Error)
1531
+ return left.stack === right['stack'];
1530
1532
  let left_cache = $.$mol_compare_deep_cache.get(left);
1531
1533
  if (left_cache) {
1532
1534
  const right_cache = left_cache.get(right);
@@ -1547,8 +1549,6 @@ var $;
1547
1549
  result = compare_set(left, right);
1548
1550
  else if (left instanceof Map)
1549
1551
  result = compare_map(left, right);
1550
- else if (left instanceof Error)
1551
- result = left.stack === right.stack;
1552
1552
  else if (ArrayBuffer.isView(left))
1553
1553
  result = compare_buffer(left, right);
1554
1554
  else if (Symbol.toPrimitive in left)
@@ -1645,8 +1645,7 @@ var $;
1645
1645
  };
1646
1646
  }
1647
1647
  complete() {
1648
- if (this.sub_empty)
1649
- this.destructor();
1648
+ this.destructor();
1650
1649
  }
1651
1650
  put(next) {
1652
1651
  const prev = this.cache;