mol_wire_lib 1.0.1599 → 1.0.1600
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.js +3 -3
- package/node.js.map +1 -1
- package/node.mjs +3 -3
- package/node.test.js +3 -3
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +3 -3
- package/web.js.map +1 -1
- package/web.mjs +3 -3
package/node.js
CHANGED
|
@@ -1848,15 +1848,15 @@ var $;
|
|
|
1848
1848
|
"use strict";
|
|
1849
1849
|
var $;
|
|
1850
1850
|
(function ($) {
|
|
1851
|
-
const catched = new
|
|
1851
|
+
const catched = new WeakSet();
|
|
1852
1852
|
function $mol_fail_catch(error) {
|
|
1853
1853
|
if (typeof error !== 'object')
|
|
1854
1854
|
return false;
|
|
1855
1855
|
if ($mol_promise_like(error))
|
|
1856
1856
|
$mol_fail_hidden(error);
|
|
1857
|
-
if (catched.
|
|
1857
|
+
if (catched.has(error))
|
|
1858
1858
|
return false;
|
|
1859
|
-
catched.
|
|
1859
|
+
catched.add(error);
|
|
1860
1860
|
return true;
|
|
1861
1861
|
}
|
|
1862
1862
|
$.$mol_fail_catch = $mol_fail_catch;
|