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.test.js
CHANGED
|
@@ -2218,11 +2218,14 @@ var $;
|
|
|
2218
2218
|
"use strict";
|
|
2219
2219
|
var $;
|
|
2220
2220
|
(function ($) {
|
|
2221
|
-
function $mol_wire_probe(task,
|
|
2221
|
+
function $mol_wire_probe(task, def) {
|
|
2222
2222
|
const warm = $mol_wire_fiber.warm;
|
|
2223
2223
|
try {
|
|
2224
2224
|
$mol_wire_fiber.warm = false;
|
|
2225
|
-
|
|
2225
|
+
const res = task();
|
|
2226
|
+
if (res === undefined)
|
|
2227
|
+
return def;
|
|
2228
|
+
return res;
|
|
2226
2229
|
}
|
|
2227
2230
|
finally {
|
|
2228
2231
|
$mol_wire_fiber.warm = warm;
|