mol_dump_lib 0.0.815 → 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 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';