mol_tree2 1.0.649 → 1.0.650

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
@@ -4639,6 +4639,7 @@ var $;
4639
4639
  result = Object.assign(result.then(put, put), {
4640
4640
  destructor: result['destructor'] ?? (() => { })
4641
4641
  });
4642
+ Error.captureStackTrace(result);
4642
4643
  handled.add(result);
4643
4644
  }
4644
4645
  }
@@ -4656,6 +4657,7 @@ var $;
4656
4657
  }), {
4657
4658
  destructor: result['destructor'] ?? (() => { })
4658
4659
  });
4660
+ Error.captureStackTrace(result);
4659
4661
  handled.add(result);
4660
4662
  }
4661
4663
  }
@@ -6694,10 +6696,10 @@ var $;
6694
6696
  "use strict";
6695
6697
  var $;
6696
6698
  (function ($) {
6697
- function $mol_style_prop(prefix, postfixes) {
6698
- const record = postfixes.reduce((record_obj, postfix) => {
6699
- record_obj[postfix] = $mol_style_func.vary(`--${prefix}_${postfix}`);
6700
- return record_obj;
6699
+ function $mol_style_prop(prefix, keys) {
6700
+ const record = keys.reduce((rec, key) => {
6701
+ rec[key] = $mol_style_func.vary(`--${prefix}_${key}`);
6702
+ return rec;
6701
6703
  }, {});
6702
6704
  return record;
6703
6705
  }