mol_dump_lib 0.0.294 → 0.0.296

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
@@ -6316,6 +6316,8 @@ var $;
6316
6316
  }
6317
6317
  simple() {
6318
6318
  const value = this.value();
6319
+ if (typeof value === 'number')
6320
+ return value.toLocaleString('en').replaceAll(',', '_');
6319
6321
  return value ? String(value) : JSON.stringify(value) ?? 'undefined';
6320
6322
  }
6321
6323
  expand_title() {
package/node.test.js CHANGED
@@ -6307,6 +6307,8 @@ var $;
6307
6307
  }
6308
6308
  simple() {
6309
6309
  const value = this.value();
6310
+ if (typeof value === 'number')
6311
+ return value.toLocaleString('en').replaceAll(',', '_');
6310
6312
  return value ? String(value) : JSON.stringify(value) ?? 'undefined';
6311
6313
  }
6312
6314
  expand_title() {