mol_tree2 1.0.899 → 1.0.901

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_tree2",
3
- "version": "1.0.899",
3
+ "version": "1.0.901",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.test.js CHANGED
@@ -2427,13 +2427,12 @@ var $;
2427
2427
  break;
2428
2428
  }
2429
2429
  if ($mol_promise_like(result) && !handled.has(result)) {
2430
- handled.add(result);
2431
2430
  const put = (res) => {
2432
2431
  if (this.cache === result)
2433
2432
  this.put(res);
2434
2433
  return res;
2435
2434
  };
2436
- result = Object.assign(result.then(put, put), { destructor: result.destructor });
2435
+ result = result.then(put, put);
2437
2436
  }
2438
2437
  }
2439
2438
  catch (error) {
@@ -2444,11 +2443,10 @@ var $;
2444
2443
  result = new Error(String(error), { cause: error });
2445
2444
  }
2446
2445
  if ($mol_promise_like(result) && !handled.has(result)) {
2447
- handled.add(result);
2448
- result = Object.assign(result.finally(() => {
2446
+ result = result.finally(() => {
2449
2447
  if (this.cache === result)
2450
2448
  this.absorb();
2451
- }), { destructor: result.destructor });
2449
+ });
2452
2450
  }
2453
2451
  }
2454
2452
  if ($mol_promise_like(result) && !handled.has(result)) {