mol_data_all 1.1.1296 → 1.1.1298

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
@@ -1721,13 +1721,12 @@ var $;
1721
1721
  break;
1722
1722
  }
1723
1723
  if ($mol_promise_like(result) && !handled.has(result)) {
1724
- handled.add(result);
1725
1724
  const put = (res) => {
1726
1725
  if (this.cache === result)
1727
1726
  this.put(res);
1728
1727
  return res;
1729
1728
  };
1730
- result = Object.assign(result.then(put, put), { destructor: result.destructor });
1729
+ result = result.then(put, put);
1731
1730
  }
1732
1731
  }
1733
1732
  catch (error) {
@@ -1738,11 +1737,10 @@ var $;
1738
1737
  result = new Error(String(error), { cause: error });
1739
1738
  }
1740
1739
  if ($mol_promise_like(result) && !handled.has(result)) {
1741
- handled.add(result);
1742
- result = Object.assign(result.finally(() => {
1740
+ result = result.finally(() => {
1743
1741
  if (this.cache === result)
1744
1742
  this.absorb();
1745
- }), { destructor: result.destructor });
1743
+ });
1746
1744
  }
1747
1745
  }
1748
1746
  if ($mol_promise_like(result) && !handled.has(result)) {