mol_plot_all 1.2.509 → 1.2.511
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.esm.js +3 -3
- package/node.esm.js.map +1 -1
- package/node.js +3 -3
- package/node.js.map +1 -1
- package/node.test.js +3 -3
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.esm.js +3 -3
- package/web.esm.js.map +1 -1
- package/web.js +3 -3
- package/web.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -1810,15 +1810,15 @@ var $;
|
|
|
1810
1810
|
"use strict";
|
|
1811
1811
|
var $;
|
|
1812
1812
|
(function ($) {
|
|
1813
|
-
const
|
|
1813
|
+
const catched = new WeakMap();
|
|
1814
1814
|
function $mol_fail_catch(error) {
|
|
1815
1815
|
if (typeof error !== 'object')
|
|
1816
1816
|
return false;
|
|
1817
1817
|
if (error instanceof Promise)
|
|
1818
1818
|
$mol_fail_hidden(error);
|
|
1819
|
-
if (
|
|
1819
|
+
if (catched.get(error))
|
|
1820
1820
|
return false;
|
|
1821
|
-
|
|
1821
|
+
catched.set(error, true);
|
|
1822
1822
|
return true;
|
|
1823
1823
|
}
|
|
1824
1824
|
$.$mol_fail_catch = $mol_fail_catch;
|