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.d.ts +52 -52
- package/node.deps.json +1 -1
- package/node.js +2 -0
- package/node.js.map +1 -1
- package/node.mjs +2 -0
- package/node.test.js +2 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +52 -52
- package/web.deps.json +1 -1
- package/web.js +2 -0
- package/web.js.map +1 -1
- package/web.mjs +2 -0
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() {
|