mol_wire_lib 1.0.484 → 1.0.485
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.test.js
CHANGED
|
@@ -1045,15 +1045,15 @@ var $;
|
|
|
1045
1045
|
"use strict";
|
|
1046
1046
|
var $;
|
|
1047
1047
|
(function ($) {
|
|
1048
|
-
const
|
|
1048
|
+
const catched = new WeakMap();
|
|
1049
1049
|
function $mol_fail_catch(error) {
|
|
1050
1050
|
if (typeof error !== 'object')
|
|
1051
1051
|
return false;
|
|
1052
1052
|
if (error instanceof Promise)
|
|
1053
1053
|
$mol_fail_hidden(error);
|
|
1054
|
-
if (
|
|
1054
|
+
if (catched.get(error))
|
|
1055
1055
|
return false;
|
|
1056
|
-
|
|
1056
|
+
catched.set(error, true);
|
|
1057
1057
|
return true;
|
|
1058
1058
|
}
|
|
1059
1059
|
$.$mol_fail_catch = $mol_fail_catch;
|