@tanstack/svelte-table 8.10.6 → 8.10.7

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.
@@ -2352,9 +2352,6 @@
2352
2352
  return a === b ? 0 : a > b ? 1 : -1;
2353
2353
  }
2354
2354
  function toString(a) {
2355
- if (typeof a === 'boolean') {
2356
- return String(a);
2357
- }
2358
2355
  if (typeof a === 'number') {
2359
2356
  if (isNaN(a) || a === Infinity || a === -Infinity) {
2360
2357
  return '';
@@ -2371,13 +2368,6 @@
2371
2368
  // It handles numbers, mixed alphanumeric combinations, and even
2372
2369
  // null, undefined, and Infinity
2373
2370
  function compareAlphanumeric(aStr, bStr) {
2374
- // Check if the string contains only a number
2375
- const aFloat = parseFloat(aStr);
2376
- const bFloat = parseFloat(bStr);
2377
- if (!isNaN(aFloat) && !isNaN(bFloat)) {
2378
- return compareBasic(aFloat, bFloat);
2379
- }
2380
-
2381
2371
  // Split on number groups, but keep the delimiter
2382
2372
  // Then remove falsey split values
2383
2373
  const a = aStr.split(reSplitAlphaNumeric).filter(Boolean);