mol_wire_lib 1.0.484 → 1.0.486
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.esm.js +3 -3
- package/node.esm.js.map +1 -1
- package/node.js +3 -3
- package/node.js.map +1 -1
- package/node.test.js +3 -3
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.esm.js +3 -3
- package/web.esm.js.map +1 -1
- package/web.js +3 -3
- package/web.js.map +1 -1
package/node.esm.js
CHANGED
|
@@ -1053,15 +1053,15 @@ var $;
|
|
|
1053
1053
|
"use strict";
|
|
1054
1054
|
var $;
|
|
1055
1055
|
(function ($) {
|
|
1056
|
-
const
|
|
1056
|
+
const catched = new WeakMap();
|
|
1057
1057
|
function $mol_fail_catch(error) {
|
|
1058
1058
|
if (typeof error !== 'object')
|
|
1059
1059
|
return false;
|
|
1060
1060
|
if (error instanceof Promise)
|
|
1061
1061
|
$mol_fail_hidden(error);
|
|
1062
|
-
if (
|
|
1062
|
+
if (catched.get(error))
|
|
1063
1063
|
return false;
|
|
1064
|
-
|
|
1064
|
+
catched.set(error, true);
|
|
1065
1065
|
return true;
|
|
1066
1066
|
}
|
|
1067
1067
|
$.$mol_fail_catch = $mol_fail_catch;
|