buzzcasting-utils 1.3.8 → 1.3.9

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.
@@ -378,7 +378,7 @@ const ce = (e) => {
378
378
  if (e.node === "root")
379
379
  return r;
380
380
  }, de = (e, t = 0, r = !0, n = "en") => {
381
- if (e = Number.isNaN(e) ? e : parseFloat(e.replace(/[^0-9.]/g, "")), r === !1)
381
+ if (e = typeof e == "string" || e instanceof String ? parseFloat(e.replace(/[^0-9.]/g, "")) : e, r === !1)
382
382
  return e.toLocaleString(n);
383
383
  if (e < 1e3)
384
384
  return e = e.toString().replace(/[^0-9.]/g, "");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-utils",
3
3
  "type": "module",
4
- "version": "1.3.8",
4
+ "version": "1.3.9",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",