mol_view_tree2_lib 1.0.53 → 1.0.55
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 +23 -12
- 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/web.test.js +20 -9
- package/web.test.js.map +1 -1
package/node.js
CHANGED
|
@@ -3457,15 +3457,15 @@ var $;
|
|
|
3457
3457
|
"use strict";
|
|
3458
3458
|
var $;
|
|
3459
3459
|
(function ($) {
|
|
3460
|
-
const catched = new
|
|
3460
|
+
const catched = new WeakSet();
|
|
3461
3461
|
function $mol_fail_catch(error) {
|
|
3462
3462
|
if (typeof error !== 'object')
|
|
3463
3463
|
return false;
|
|
3464
3464
|
if ($mol_promise_like(error))
|
|
3465
3465
|
$mol_fail_hidden(error);
|
|
3466
|
-
if (catched.
|
|
3466
|
+
if (catched.has(error))
|
|
3467
3467
|
return false;
|
|
3468
|
-
catched.
|
|
3468
|
+
catched.add(error);
|
|
3469
3469
|
return true;
|
|
3470
3470
|
}
|
|
3471
3471
|
$.$mol_fail_catch = $mol_fail_catch;
|