mol_plot_all 1.2.1216 → 1.2.1217
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.deps.json +1 -1
- package/node.js +3 -5
- package/node.js.map +1 -1
- package/node.mjs +3 -5
- package/node.test.js +3 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +3 -5
- package/web.js.map +1 -1
- package/web.mjs +3 -5
package/web.js
CHANGED
|
@@ -774,13 +774,12 @@ var $;
|
|
|
774
774
|
break;
|
|
775
775
|
}
|
|
776
776
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
777
|
-
handled.add(result);
|
|
778
777
|
const put = (res) => {
|
|
779
778
|
if (this.cache === result)
|
|
780
779
|
this.put(res);
|
|
781
780
|
return res;
|
|
782
781
|
};
|
|
783
|
-
result =
|
|
782
|
+
result = result.then(put, put);
|
|
784
783
|
}
|
|
785
784
|
}
|
|
786
785
|
catch (error) {
|
|
@@ -791,11 +790,10 @@ var $;
|
|
|
791
790
|
result = new Error(String(error), { cause: error });
|
|
792
791
|
}
|
|
793
792
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
794
|
-
|
|
795
|
-
result = Object.assign(result.finally(() => {
|
|
793
|
+
result = result.finally(() => {
|
|
796
794
|
if (this.cache === result)
|
|
797
795
|
this.absorb();
|
|
798
|
-
})
|
|
796
|
+
});
|
|
799
797
|
}
|
|
800
798
|
}
|
|
801
799
|
if ($mol_promise_like(result) && !handled.has(result)) {
|