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/node.test.js +3 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +3 -5
- package/web.test.js.map +1 -1
package/package.json
CHANGED
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 =
|
|
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
|
-
|
|
2448
|
-
result = Object.assign(result.finally(() => {
|
|
2446
|
+
result = result.finally(() => {
|
|
2449
2447
|
if (this.cache === result)
|
|
2450
2448
|
this.absorb();
|
|
2451
|
-
})
|
|
2449
|
+
});
|
|
2452
2450
|
}
|
|
2453
2451
|
}
|
|
2454
2452
|
if ($mol_promise_like(result) && !handled.has(result)) {
|