hyoo_sync_client 0.0.297 → 0.0.298

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.mjs CHANGED
@@ -2101,6 +2101,8 @@ var $;
2101
2101
  function $mol_key(value) {
2102
2102
  if (typeof value === 'bigint')
2103
2103
  return value.toString() + 'n';
2104
+ if (typeof value === 'symbol')
2105
+ return value.description;
2104
2106
  if (!value)
2105
2107
  return JSON.stringify(value);
2106
2108
  if (typeof value !== 'object' && typeof value !== 'function')
@@ -2108,6 +2110,8 @@ var $;
2108
2110
  return JSON.stringify(value, (field, value) => {
2109
2111
  if (typeof value === 'bigint')
2110
2112
  return value.toString() + 'n';
2113
+ if (typeof value === 'symbol')
2114
+ return value.description;
2111
2115
  if (!value)
2112
2116
  return value;
2113
2117
  if (typeof value !== 'object' && typeof value !== 'function')
package/node.test.js CHANGED
@@ -2093,6 +2093,8 @@ var $;
2093
2093
  function $mol_key(value) {
2094
2094
  if (typeof value === 'bigint')
2095
2095
  return value.toString() + 'n';
2096
+ if (typeof value === 'symbol')
2097
+ return value.description;
2096
2098
  if (!value)
2097
2099
  return JSON.stringify(value);
2098
2100
  if (typeof value !== 'object' && typeof value !== 'function')
@@ -2100,6 +2102,8 @@ var $;
2100
2102
  return JSON.stringify(value, (field, value) => {
2101
2103
  if (typeof value === 'bigint')
2102
2104
  return value.toString() + 'n';
2105
+ if (typeof value === 'symbol')
2106
+ return value.description;
2103
2107
  if (!value)
2104
2108
  return value;
2105
2109
  if (typeof value !== 'object' && typeof value !== 'function')