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.mjs CHANGED
@@ -2226,11 +2226,14 @@ var $;
2226
2226
  "use strict";
2227
2227
  var $;
2228
2228
  (function ($) {
2229
- function $mol_wire_probe(task, next) {
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
- return task();
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;