mol_wire_lib 1.0.473 → 1.0.474
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.deps.json +1 -1
- package/node.esm.js +4 -0
- package/node.esm.js.map +1 -1
- package/node.js +4 -0
- package/node.js.map +1 -1
- package/node.test.js +4 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +4 -0
- package/web.esm.js.map +1 -1
- package/web.js +4 -0
- package/web.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -929,10 +929,13 @@ var $;
|
|
|
929
929
|
"use strict";
|
|
930
930
|
var $;
|
|
931
931
|
(function ($) {
|
|
932
|
+
const named = new WeakSet();
|
|
932
933
|
function $mol_func_name(func) {
|
|
933
934
|
let name = func.name;
|
|
934
935
|
if (name?.length > 1)
|
|
935
936
|
return name;
|
|
937
|
+
if (named.has(func))
|
|
938
|
+
return name;
|
|
936
939
|
for (let key in this) {
|
|
937
940
|
try {
|
|
938
941
|
if (this[key] !== func)
|
|
@@ -943,6 +946,7 @@ var $;
|
|
|
943
946
|
}
|
|
944
947
|
catch { }
|
|
945
948
|
}
|
|
949
|
+
named.add(func);
|
|
946
950
|
return name;
|
|
947
951
|
}
|
|
948
952
|
$.$mol_func_name = $mol_func_name;
|