mol_jsx_lib 0.0.1461 → 0.0.1463
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
|
@@ -1608,15 +1608,15 @@ var $;
|
|
|
1608
1608
|
"use strict";
|
|
1609
1609
|
var $;
|
|
1610
1610
|
(function ($) {
|
|
1611
|
-
const catched = new
|
|
1611
|
+
const catched = new WeakSet();
|
|
1612
1612
|
function $mol_fail_catch(error) {
|
|
1613
1613
|
if (typeof error !== 'object')
|
|
1614
1614
|
return false;
|
|
1615
1615
|
if ($mol_promise_like(error))
|
|
1616
1616
|
$mol_fail_hidden(error);
|
|
1617
|
-
if (catched.
|
|
1617
|
+
if (catched.has(error))
|
|
1618
1618
|
return false;
|
|
1619
|
-
catched.
|
|
1619
|
+
catched.add(error);
|
|
1620
1620
|
return true;
|
|
1621
1621
|
}
|
|
1622
1622
|
$.$mol_fail_catch = $mol_fail_catch;
|