mol_wire_lib 1.0.1231 → 1.0.1232
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.d.ts +1 -0
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +14 -4
- package/node.js.map +1 -1
- package/node.mjs +14 -4
- package/node.test.js +14 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -0
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +14 -4
- package/web.js.map +1 -1
- package/web.mjs +14 -4
package/node.mjs
CHANGED
|
@@ -850,6 +850,12 @@ var $;
|
|
|
850
850
|
};
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
|
+
destructor() {
|
|
854
|
+
super.destructor();
|
|
855
|
+
if ($mol_owning_check(this, this.cache)) {
|
|
856
|
+
this.cache.destructor();
|
|
857
|
+
}
|
|
858
|
+
}
|
|
853
859
|
}
|
|
854
860
|
$.$mol_wire_fiber = $mol_wire_fiber;
|
|
855
861
|
})($ || ($ = {}));
|
|
@@ -1560,6 +1566,14 @@ var $;
|
|
|
1560
1566
|
this.cursor = $mol_wire_cursor.fresh;
|
|
1561
1567
|
if (next !== prev)
|
|
1562
1568
|
this.emit();
|
|
1569
|
+
if ($mol_owning_catch(this, next)) {
|
|
1570
|
+
try {
|
|
1571
|
+
next[Symbol.toStringTag] = this[Symbol.toStringTag];
|
|
1572
|
+
}
|
|
1573
|
+
catch {
|
|
1574
|
+
Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1563
1577
|
return next;
|
|
1564
1578
|
}
|
|
1565
1579
|
this.cursor = $mol_wire_cursor.final;
|
|
@@ -1812,10 +1826,6 @@ var $;
|
|
|
1812
1826
|
}
|
|
1813
1827
|
destructor() {
|
|
1814
1828
|
super.destructor();
|
|
1815
|
-
const prev = this.cache;
|
|
1816
|
-
if ($mol_owning_check(this, prev)) {
|
|
1817
|
-
prev.destructor();
|
|
1818
|
-
}
|
|
1819
1829
|
if (this.pub_from === 0) {
|
|
1820
1830
|
;
|
|
1821
1831
|
(this.host ?? this.task)[this.field()] = null;
|
package/node.test.js
CHANGED
|
@@ -841,6 +841,12 @@ var $;
|
|
|
841
841
|
};
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
|
+
destructor() {
|
|
845
|
+
super.destructor();
|
|
846
|
+
if ($mol_owning_check(this, this.cache)) {
|
|
847
|
+
this.cache.destructor();
|
|
848
|
+
}
|
|
849
|
+
}
|
|
844
850
|
}
|
|
845
851
|
$.$mol_wire_fiber = $mol_wire_fiber;
|
|
846
852
|
})($ || ($ = {}));
|
|
@@ -1551,6 +1557,14 @@ var $;
|
|
|
1551
1557
|
this.cursor = $mol_wire_cursor.fresh;
|
|
1552
1558
|
if (next !== prev)
|
|
1553
1559
|
this.emit();
|
|
1560
|
+
if ($mol_owning_catch(this, next)) {
|
|
1561
|
+
try {
|
|
1562
|
+
next[Symbol.toStringTag] = this[Symbol.toStringTag];
|
|
1563
|
+
}
|
|
1564
|
+
catch {
|
|
1565
|
+
Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1554
1568
|
return next;
|
|
1555
1569
|
}
|
|
1556
1570
|
this.cursor = $mol_wire_cursor.final;
|
|
@@ -1803,10 +1817,6 @@ var $;
|
|
|
1803
1817
|
}
|
|
1804
1818
|
destructor() {
|
|
1805
1819
|
super.destructor();
|
|
1806
|
-
const prev = this.cache;
|
|
1807
|
-
if ($mol_owning_check(this, prev)) {
|
|
1808
|
-
prev.destructor();
|
|
1809
|
-
}
|
|
1810
1820
|
if (this.pub_from === 0) {
|
|
1811
1821
|
;
|
|
1812
1822
|
(this.host ?? this.task)[this.field()] = null;
|