mol_jsx_lib 0.0.730 → 0.0.732

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/web.mjs CHANGED
@@ -1094,6 +1094,8 @@ var $;
1094
1094
  function $mol_key(value) {
1095
1095
  if (typeof value === 'bigint')
1096
1096
  return value.toString() + 'n';
1097
+ if (typeof value === 'symbol')
1098
+ return value.description;
1097
1099
  if (!value)
1098
1100
  return JSON.stringify(value);
1099
1101
  if (typeof value !== 'object' && typeof value !== 'function')
@@ -1101,6 +1103,8 @@ var $;
1101
1103
  return JSON.stringify(value, (field, value) => {
1102
1104
  if (typeof value === 'bigint')
1103
1105
  return value.toString() + 'n';
1106
+ if (typeof value === 'symbol')
1107
+ return value.description;
1104
1108
  if (!value)
1105
1109
  return value;
1106
1110
  if (typeof value !== 'object' && typeof value !== 'function')