mol_plot_all 1.2.864 → 1.2.865
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.js +4 -0
- package/node.js.map +1 -1
- package/node.mjs +4 -0
- 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.js +4 -0
- package/web.js.map +1 -1
- package/web.mjs +4 -0
package/web.mjs
CHANGED
|
@@ -891,6 +891,8 @@ var $;
|
|
|
891
891
|
function $mol_key(value) {
|
|
892
892
|
if (typeof value === 'bigint')
|
|
893
893
|
return value.toString() + 'n';
|
|
894
|
+
if (typeof value === 'symbol')
|
|
895
|
+
return value.description;
|
|
894
896
|
if (!value)
|
|
895
897
|
return JSON.stringify(value);
|
|
896
898
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
@@ -898,6 +900,8 @@ var $;
|
|
|
898
900
|
return JSON.stringify(value, (field, value) => {
|
|
899
901
|
if (typeof value === 'bigint')
|
|
900
902
|
return value.toString() + 'n';
|
|
903
|
+
if (typeof value === 'symbol')
|
|
904
|
+
return value.description;
|
|
901
905
|
if (!value)
|
|
902
906
|
return value;
|
|
903
907
|
if (typeof value !== 'object' && typeof value !== 'function')
|