mol_dump_lib 0.0.816 → 0.0.817
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.js +1 -1
- package/node.js.map +1 -1
- package/node.mjs +1 -1
- package/node.test.js +1 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +1 -1
- package/web.js.map +1 -1
- package/web.mjs +1 -1
package/node.mjs
CHANGED
|
@@ -7393,7 +7393,7 @@ var $;
|
|
|
7393
7393
|
simple() {
|
|
7394
7394
|
const value = this.value();
|
|
7395
7395
|
if (typeof value === 'number')
|
|
7396
|
-
return value.toLocaleString('en').replaceAll(',', '_');
|
|
7396
|
+
return value.toLocaleString('en', { maximumSignificantDigits: 21 }).replaceAll(',', '_');
|
|
7397
7397
|
if (typeof value === 'bigint')
|
|
7398
7398
|
return value.toLocaleString('en').replaceAll(',', '_');
|
|
7399
7399
|
return value ? String(value) : JSON.stringify(value) ?? 'undefined';
|
package/node.test.js
CHANGED
|
@@ -7384,7 +7384,7 @@ var $;
|
|
|
7384
7384
|
simple() {
|
|
7385
7385
|
const value = this.value();
|
|
7386
7386
|
if (typeof value === 'number')
|
|
7387
|
-
return value.toLocaleString('en').replaceAll(',', '_');
|
|
7387
|
+
return value.toLocaleString('en', { maximumSignificantDigits: 21 }).replaceAll(',', '_');
|
|
7388
7388
|
if (typeof value === 'bigint')
|
|
7389
7389
|
return value.toLocaleString('en').replaceAll(',', '_');
|
|
7390
7390
|
return value ? String(value) : JSON.stringify(value) ?? 'undefined';
|