mol_plot_all 1.2.605 → 1.2.606

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
@@ -2097,11 +2097,14 @@ var $;
2097
2097
  "use strict";
2098
2098
  var $;
2099
2099
  (function ($) {
2100
- function $mol_wire_probe(task, next) {
2100
+ function $mol_wire_probe(task, def) {
2101
2101
  const warm = $mol_wire_fiber.warm;
2102
2102
  try {
2103
2103
  $mol_wire_fiber.warm = false;
2104
- return task();
2104
+ const res = task();
2105
+ if (res === undefined)
2106
+ return def;
2107
+ return res;
2105
2108
  }
2106
2109
  finally {
2107
2110
  $mol_wire_fiber.warm = warm;