mol_wire_lib 1.0.592 → 1.0.593
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
|
@@ -1249,11 +1249,14 @@ var $;
|
|
|
1249
1249
|
"use strict";
|
|
1250
1250
|
var $;
|
|
1251
1251
|
(function ($) {
|
|
1252
|
-
function $mol_wire_probe(task,
|
|
1252
|
+
function $mol_wire_probe(task, def) {
|
|
1253
1253
|
const warm = $mol_wire_fiber.warm;
|
|
1254
1254
|
try {
|
|
1255
1255
|
$mol_wire_fiber.warm = false;
|
|
1256
|
-
|
|
1256
|
+
const res = task();
|
|
1257
|
+
if (res === undefined)
|
|
1258
|
+
return def;
|
|
1259
|
+
return res;
|
|
1257
1260
|
}
|
|
1258
1261
|
finally {
|
|
1259
1262
|
$mol_wire_fiber.warm = warm;
|