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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_dump_lib",
3
- "version": "0.0.816",
3
+ "version": "0.0.817",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.js CHANGED
@@ -6927,7 +6927,7 @@ var $;
6927
6927
  simple() {
6928
6928
  const value = this.value();
6929
6929
  if (typeof value === 'number')
6930
- return value.toLocaleString('en').replaceAll(',', '_');
6930
+ return value.toLocaleString('en', { maximumSignificantDigits: 21 }).replaceAll(',', '_');
6931
6931
  if (typeof value === 'bigint')
6932
6932
  return value.toLocaleString('en').replaceAll(',', '_');
6933
6933
  return value ? String(value) : JSON.stringify(value) ?? 'undefined';