tods-competition-factory 1.6.21 → 1.6.22

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/dist/index.mjs CHANGED
@@ -329,7 +329,7 @@ const matchUpFormatCode = {
329
329
  };
330
330
 
331
331
  function factoryVersion() {
332
- return "1.6.21";
332
+ return "1.6.22";
333
333
  }
334
334
 
335
335
  function getObjectTieFormat(obj) {
@@ -55804,7 +55804,7 @@ function getScaledEntries({
55804
55804
  return { ...entry, ...scaleItem };
55805
55805
  }).filter((scaledEntry) => {
55806
55806
  const scaleValue = scaledEntry.scaleValue;
55807
- if (!scaleSortMethod && scaleValue && typeof scaleValue !== "number")
55807
+ if (!scaleSortMethod && (isNaN(scaleValue) || !parseFloat(scaleValue)))
55808
55808
  return false;
55809
55809
  return scaleValue;
55810
55810
  }).sort(scaleSortMethod || defaultScaleValueSort);