mol_plot_all 1.2.960 → 1.2.961

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
@@ -798,6 +798,7 @@ var $;
798
798
  result = Object.assign(result.then(put, put), {
799
799
  destructor: result['destructor'] ?? (() => { })
800
800
  });
801
+ Error.captureStackTrace(result);
801
802
  handled.add(result);
802
803
  }
803
804
  }
@@ -815,6 +816,7 @@ var $;
815
816
  }), {
816
817
  destructor: result['destructor'] ?? (() => { })
817
818
  });
819
+ Error.captureStackTrace(result);
818
820
  handled.add(result);
819
821
  }
820
822
  }
@@ -2587,10 +2589,10 @@ var $;
2587
2589
  "use strict";
2588
2590
  var $;
2589
2591
  (function ($) {
2590
- function $mol_style_prop(prefix, postfixes) {
2591
- const record = postfixes.reduce((record_obj, postfix) => {
2592
- record_obj[postfix] = $mol_style_func.vary(`--${prefix}_${postfix}`);
2593
- return record_obj;
2592
+ function $mol_style_prop(prefix, keys) {
2593
+ const record = keys.reduce((rec, key) => {
2594
+ rec[key] = $mol_style_func.vary(`--${prefix}_${key}`);
2595
+ return rec;
2594
2596
  }, {});
2595
2597
  return record;
2596
2598
  }
package/node.test.js CHANGED
@@ -789,6 +789,7 @@ var $;
789
789
  result = Object.assign(result.then(put, put), {
790
790
  destructor: result['destructor'] ?? (() => { })
791
791
  });
792
+ Error.captureStackTrace(result);
792
793
  handled.add(result);
793
794
  }
794
795
  }
@@ -806,6 +807,7 @@ var $;
806
807
  }), {
807
808
  destructor: result['destructor'] ?? (() => { })
808
809
  });
810
+ Error.captureStackTrace(result);
809
811
  handled.add(result);
810
812
  }
811
813
  }
@@ -2578,10 +2580,10 @@ var $;
2578
2580
  "use strict";
2579
2581
  var $;
2580
2582
  (function ($) {
2581
- function $mol_style_prop(prefix, postfixes) {
2582
- const record = postfixes.reduce((record_obj, postfix) => {
2583
- record_obj[postfix] = $mol_style_func.vary(`--${prefix}_${postfix}`);
2584
- return record_obj;
2583
+ function $mol_style_prop(prefix, keys) {
2584
+ const record = keys.reduce((rec, key) => {
2585
+ rec[key] = $mol_style_func.vary(`--${prefix}_${key}`);
2586
+ return rec;
2585
2587
  }, {});
2586
2588
  return record;
2587
2589
  }