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/node.mjs
CHANGED
|
@@ -2226,11 +2226,14 @@ var $;
|
|
|
2226
2226
|
"use strict";
|
|
2227
2227
|
var $;
|
|
2228
2228
|
(function ($) {
|
|
2229
|
-
function $mol_wire_probe(task,
|
|
2229
|
+
function $mol_wire_probe(task, def) {
|
|
2230
2230
|
const warm = $mol_wire_fiber.warm;
|
|
2231
2231
|
try {
|
|
2232
2232
|
$mol_wire_fiber.warm = false;
|
|
2233
|
-
|
|
2233
|
+
const res = task();
|
|
2234
|
+
if (res === undefined)
|
|
2235
|
+
return def;
|
|
2236
|
+
return res;
|
|
2234
2237
|
}
|
|
2235
2238
|
finally {
|
|
2236
2239
|
$mol_wire_fiber.warm = warm;
|