mol_jsx_lib 0.0.1097 → 0.0.1098

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.mjs CHANGED
@@ -1508,6 +1508,12 @@ var $;
1508
1508
  };
1509
1509
  });
1510
1510
  }
1511
+ destructor() {
1512
+ super.destructor();
1513
+ if ($mol_owning_check(this, this.cache)) {
1514
+ this.cache.destructor();
1515
+ }
1516
+ }
1511
1517
  }
1512
1518
  $.$mol_wire_fiber = $mol_wire_fiber;
1513
1519
  })($ || ($ = {}));
@@ -1701,6 +1707,14 @@ var $;
1701
1707
  this.cursor = $mol_wire_cursor.fresh;
1702
1708
  if (next !== prev)
1703
1709
  this.emit();
1710
+ if ($mol_owning_catch(this, next)) {
1711
+ try {
1712
+ next[Symbol.toStringTag] = this[Symbol.toStringTag];
1713
+ }
1714
+ catch {
1715
+ Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
1716
+ }
1717
+ }
1704
1718
  return next;
1705
1719
  }
1706
1720
  this.cursor = $mol_wire_cursor.final;
@@ -2287,10 +2301,6 @@ var $;
2287
2301
  }
2288
2302
  destructor() {
2289
2303
  super.destructor();
2290
- const prev = this.cache;
2291
- if ($mol_owning_check(this, prev)) {
2292
- prev.destructor();
2293
- }
2294
2304
  if (this.pub_from === 0) {
2295
2305
  ;
2296
2306
  (this.host ?? this.task)[this.field()] = null;
package/node.test.js CHANGED
@@ -1499,6 +1499,12 @@ var $;
1499
1499
  };
1500
1500
  });
1501
1501
  }
1502
+ destructor() {
1503
+ super.destructor();
1504
+ if ($mol_owning_check(this, this.cache)) {
1505
+ this.cache.destructor();
1506
+ }
1507
+ }
1502
1508
  }
1503
1509
  $.$mol_wire_fiber = $mol_wire_fiber;
1504
1510
  })($ || ($ = {}));
@@ -1692,6 +1698,14 @@ var $;
1692
1698
  this.cursor = $mol_wire_cursor.fresh;
1693
1699
  if (next !== prev)
1694
1700
  this.emit();
1701
+ if ($mol_owning_catch(this, next)) {
1702
+ try {
1703
+ next[Symbol.toStringTag] = this[Symbol.toStringTag];
1704
+ }
1705
+ catch {
1706
+ Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
1707
+ }
1708
+ }
1695
1709
  return next;
1696
1710
  }
1697
1711
  this.cursor = $mol_wire_cursor.final;
@@ -2278,10 +2292,6 @@ var $;
2278
2292
  }
2279
2293
  destructor() {
2280
2294
  super.destructor();
2281
- const prev = this.cache;
2282
- if ($mol_owning_check(this, prev)) {
2283
- prev.destructor();
2284
- }
2285
2295
  if (this.pub_from === 0) {
2286
2296
  ;
2287
2297
  (this.host ?? this.task)[this.field()] = null;