mol_jsx_lib 0.0.461 → 0.0.463
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 -1
- package/node.deps.json +1 -1
- package/node.js +5 -2
- package/node.js.map +1 -1
- package/node.mjs +5 -2
- package/node.mjs.map +1 -1
- package/node.test.js +5 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +5 -2
- package/web.js.map +1 -1
- package/web.mjs +5 -2
- package/web.mjs.map +1 -1
package/web.mjs
CHANGED
|
@@ -1629,11 +1629,14 @@ var $;
|
|
|
1629
1629
|
"use strict";
|
|
1630
1630
|
var $;
|
|
1631
1631
|
(function ($) {
|
|
1632
|
-
function $mol_wire_probe(task,
|
|
1632
|
+
function $mol_wire_probe(task, def) {
|
|
1633
1633
|
const warm = $mol_wire_fiber.warm;
|
|
1634
1634
|
try {
|
|
1635
1635
|
$mol_wire_fiber.warm = false;
|
|
1636
|
-
|
|
1636
|
+
const res = task();
|
|
1637
|
+
if (res === undefined)
|
|
1638
|
+
return def;
|
|
1639
|
+
return res;
|
|
1637
1640
|
}
|
|
1638
1641
|
finally {
|
|
1639
1642
|
$mol_wire_fiber.warm = warm;
|