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/node.mjs
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)) {
|
package/node.test.js
CHANGED
|
@@ -780,13 +780,12 @@ var $;
|
|
|
780
780
|
break;
|
|
781
781
|
}
|
|
782
782
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
783
|
-
handled.add(result);
|
|
784
783
|
const put = (res) => {
|
|
785
784
|
if (this.cache === result)
|
|
786
785
|
this.put(res);
|
|
787
786
|
return res;
|
|
788
787
|
};
|
|
789
|
-
result =
|
|
788
|
+
result = result.then(put, put);
|
|
790
789
|
}
|
|
791
790
|
}
|
|
792
791
|
catch (error) {
|
|
@@ -797,11 +796,10 @@ var $;
|
|
|
797
796
|
result = new Error(String(error), { cause: error });
|
|
798
797
|
}
|
|
799
798
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
800
|
-
|
|
801
|
-
result = Object.assign(result.finally(() => {
|
|
799
|
+
result = result.finally(() => {
|
|
802
800
|
if (this.cache === result)
|
|
803
801
|
this.absorb();
|
|
804
|
-
})
|
|
802
|
+
});
|
|
805
803
|
}
|
|
806
804
|
}
|
|
807
805
|
if ($mol_promise_like(result) && !handled.has(result)) {
|