buzzcasting-utils 1.3.8 → 1.3.10

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.
@@ -832,6 +832,7 @@ export declare interface ISeries {
832
832
  export declare interface ISeriesConfig {
833
833
  fixed?: number;
834
834
  abbreviate?: boolean;
835
+ label?: string;
835
836
  }
836
837
 
837
838
  export declare interface ISeriesCss {
@@ -847,6 +848,7 @@ export declare interface ISeriesCss {
847
848
  down?: string;
848
849
  host?: string;
849
850
  image?: string;
851
+ label?: string;
850
852
  title?: string;
851
853
  up?: string;
852
854
  widget?: string;
@@ -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.10",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",