mol_plot_all 1.2.1215 → 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/node.js
CHANGED
|
@@ -789,13 +789,12 @@ var $;
|
|
|
789
789
|
break;
|
|
790
790
|
}
|
|
791
791
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
792
|
-
handled.add(result);
|
|
793
792
|
const put = (res) => {
|
|
794
793
|
if (this.cache === result)
|
|
795
794
|
this.put(res);
|
|
796
795
|
return res;
|
|
797
796
|
};
|
|
798
|
-
result =
|
|
797
|
+
result = result.then(put, put);
|
|
799
798
|
}
|
|
800
799
|
}
|
|
801
800
|
catch (error) {
|
|
@@ -806,11 +805,10 @@ var $;
|
|
|
806
805
|
result = new Error(String(error), { cause: error });
|
|
807
806
|
}
|
|
808
807
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
809
|
-
|
|
810
|
-
result = Object.assign(result.finally(() => {
|
|
808
|
+
result = result.finally(() => {
|
|
811
809
|
if (this.cache === result)
|
|
812
810
|
this.absorb();
|
|
813
|
-
})
|
|
811
|
+
});
|
|
814
812
|
}
|
|
815
813
|
}
|
|
816
814
|
if ($mol_promise_like(result) && !handled.has(result)) {
|