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/package.json
CHANGED
package/web.js
CHANGED
|
@@ -3424,15 +3424,15 @@ var $;
|
|
|
3424
3424
|
"use strict";
|
|
3425
3425
|
var $;
|
|
3426
3426
|
(function ($) {
|
|
3427
|
-
const catched = new
|
|
3427
|
+
const catched = new WeakSet();
|
|
3428
3428
|
function $mol_fail_catch(error) {
|
|
3429
3429
|
if (typeof error !== 'object')
|
|
3430
3430
|
return false;
|
|
3431
3431
|
if ($mol_promise_like(error))
|
|
3432
3432
|
$mol_fail_hidden(error);
|
|
3433
|
-
if (catched.
|
|
3433
|
+
if (catched.has(error))
|
|
3434
3434
|
return false;
|
|
3435
|
-
catched.
|
|
3435
|
+
catched.add(error);
|
|
3436
3436
|
return true;
|
|
3437
3437
|
}
|
|
3438
3438
|
$.$mol_fail_catch = $mol_fail_catch;
|