mol_jsx_lib 0.0.1092 → 0.0.1094
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.mjs
CHANGED
|
@@ -977,13 +977,12 @@ var $;
|
|
|
977
977
|
break;
|
|
978
978
|
}
|
|
979
979
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
980
|
-
handled.add(result);
|
|
981
980
|
const put = (res) => {
|
|
982
981
|
if (this.cache === result)
|
|
983
982
|
this.put(res);
|
|
984
983
|
return res;
|
|
985
984
|
};
|
|
986
|
-
result =
|
|
985
|
+
result = result.then(put, put);
|
|
987
986
|
}
|
|
988
987
|
}
|
|
989
988
|
catch (error) {
|
|
@@ -994,11 +993,10 @@ var $;
|
|
|
994
993
|
result = new Error(String(error), { cause: error });
|
|
995
994
|
}
|
|
996
995
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
997
|
-
|
|
998
|
-
result = Object.assign(result.finally(() => {
|
|
996
|
+
result = result.finally(() => {
|
|
999
997
|
if (this.cache === result)
|
|
1000
998
|
this.absorb();
|
|
1001
|
-
})
|
|
999
|
+
});
|
|
1002
1000
|
}
|
|
1003
1001
|
}
|
|
1004
1002
|
if ($mol_promise_like(result) && !handled.has(result)) {
|