hyoo_sync_client 0.0.297 → 0.0.299
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
|
@@ -1529,6 +1529,8 @@ var $;
|
|
|
1529
1529
|
function $mol_key(value) {
|
|
1530
1530
|
if (typeof value === 'bigint')
|
|
1531
1531
|
return value.toString() + 'n';
|
|
1532
|
+
if (typeof value === 'symbol')
|
|
1533
|
+
return value.description;
|
|
1532
1534
|
if (!value)
|
|
1533
1535
|
return JSON.stringify(value);
|
|
1534
1536
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
@@ -1536,6 +1538,8 @@ var $;
|
|
|
1536
1538
|
return JSON.stringify(value, (field, value) => {
|
|
1537
1539
|
if (typeof value === 'bigint')
|
|
1538
1540
|
return value.toString() + 'n';
|
|
1541
|
+
if (typeof value === 'symbol')
|
|
1542
|
+
return value.description;
|
|
1539
1543
|
if (!value)
|
|
1540
1544
|
return value;
|
|
1541
1545
|
if (typeof value !== 'object' && typeof value !== 'function')
|