mol_plot_all 1.2.297 → 1.2.300

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.test.js CHANGED
@@ -1701,7 +1701,8 @@ var $;
1701
1701
  class $mol_wire_task extends $mol_wire_fiber {
1702
1702
  static getter(task) {
1703
1703
  return function $mol_wire_task_get(host, args) {
1704
- const existen = $mol_wire_auto()?.track_next();
1704
+ const sub = $mol_wire_auto();
1705
+ const existen = sub?.track_next();
1705
1706
  reuse: if (existen) {
1706
1707
  if (!(existen instanceof $mol_wire_task))
1707
1708
  break reuse;
@@ -2936,7 +2937,7 @@ var $;
2936
2937
  class $mol_vector_range extends $mol_vector {
2937
2938
  0;
2938
2939
  1;
2939
- constructor(min, max) {
2940
+ constructor(min, max = min) {
2940
2941
  super(min, max);
2941
2942
  this[0] = min;
2942
2943
  this[1] = max;