mol_plot_all 1.2.510 → 1.2.512
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.js
CHANGED
|
@@ -1818,15 +1818,15 @@ var $;
|
|
|
1818
1818
|
"use strict";
|
|
1819
1819
|
var $;
|
|
1820
1820
|
(function ($) {
|
|
1821
|
-
const
|
|
1821
|
+
const catched = new WeakMap();
|
|
1822
1822
|
function $mol_fail_catch(error) {
|
|
1823
1823
|
if (typeof error !== 'object')
|
|
1824
1824
|
return false;
|
|
1825
1825
|
if (error instanceof Promise)
|
|
1826
1826
|
$mol_fail_hidden(error);
|
|
1827
|
-
if (
|
|
1827
|
+
if (catched.get(error))
|
|
1828
1828
|
return false;
|
|
1829
|
-
|
|
1829
|
+
catched.set(error, true);
|
|
1830
1830
|
return true;
|
|
1831
1831
|
}
|
|
1832
1832
|
$.$mol_fail_catch = $mol_fail_catch;
|