mol_plot_all 1.2.864 → 1.2.866
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/node.mjs
CHANGED
|
@@ -900,6 +900,8 @@ var $;
|
|
|
900
900
|
function $mol_key(value) {
|
|
901
901
|
if (typeof value === 'bigint')
|
|
902
902
|
return value.toString() + 'n';
|
|
903
|
+
if (typeof value === 'symbol')
|
|
904
|
+
return value.description;
|
|
903
905
|
if (!value)
|
|
904
906
|
return JSON.stringify(value);
|
|
905
907
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
@@ -907,6 +909,8 @@ var $;
|
|
|
907
909
|
return JSON.stringify(value, (field, value) => {
|
|
908
910
|
if (typeof value === 'bigint')
|
|
909
911
|
return value.toString() + 'n';
|
|
912
|
+
if (typeof value === 'symbol')
|
|
913
|
+
return value.description;
|
|
910
914
|
if (!value)
|
|
911
915
|
return value;
|
|
912
916
|
if (typeof value !== 'object' && typeof value !== 'function')
|
package/node.test.js
CHANGED
|
@@ -892,6 +892,8 @@ var $;
|
|
|
892
892
|
function $mol_key(value) {
|
|
893
893
|
if (typeof value === 'bigint')
|
|
894
894
|
return value.toString() + 'n';
|
|
895
|
+
if (typeof value === 'symbol')
|
|
896
|
+
return value.description;
|
|
895
897
|
if (!value)
|
|
896
898
|
return JSON.stringify(value);
|
|
897
899
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
@@ -899,6 +901,8 @@ var $;
|
|
|
899
901
|
return JSON.stringify(value, (field, value) => {
|
|
900
902
|
if (typeof value === 'bigint')
|
|
901
903
|
return value.toString() + 'n';
|
|
904
|
+
if (typeof value === 'symbol')
|
|
905
|
+
return value.description;
|
|
902
906
|
if (!value)
|
|
903
907
|
return value;
|
|
904
908
|
if (typeof value !== 'object' && typeof value !== 'function')
|