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/package.json
CHANGED
package/web.js
CHANGED
|
@@ -1378,15 +1378,15 @@ var $;
|
|
|
1378
1378
|
"use strict";
|
|
1379
1379
|
var $;
|
|
1380
1380
|
(function ($) {
|
|
1381
|
-
const catched = new
|
|
1381
|
+
const catched = new WeakSet();
|
|
1382
1382
|
function $mol_fail_catch(error) {
|
|
1383
1383
|
if (typeof error !== 'object')
|
|
1384
1384
|
return false;
|
|
1385
1385
|
if ($mol_promise_like(error))
|
|
1386
1386
|
$mol_fail_hidden(error);
|
|
1387
|
-
if (catched.
|
|
1387
|
+
if (catched.has(error))
|
|
1388
1388
|
return false;
|
|
1389
|
-
catched.
|
|
1389
|
+
catched.add(error);
|
|
1390
1390
|
return true;
|
|
1391
1391
|
}
|
|
1392
1392
|
$.$mol_fail_catch = $mol_fail_catch;
|