buzzcasting-utils 1.12.1 → 1.12.2

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.
@@ -417,7 +417,7 @@ const xe = (e) => {
417
417
  if (e = typeof e == "string" || e instanceof String ? parseFloat(e.replace(/[^0-9.]/g, "")) : e, r === !1)
418
418
  return e.toLocaleString(n);
419
419
  if (e < 1e3)
420
- return e;
420
+ return Math.round(e) === e ? e : e.toFixed(t);
421
421
  e = e.toString().replace(/[^0-9.]/g, "");
422
422
  let a = [
423
423
  { v: 1e3, s: "k" },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-utils",
3
3
  "type": "module",
4
- "version": "1.12.1",
4
+ "version": "1.12.2",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",