@tanstack/table-core 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.
@@ -2337,9 +2337,6 @@ function compareBasic(a, b) {
2337
2337
  return a === b ? 0 : a > b ? 1 : -1;
2338
2338
  }
2339
2339
  function toString(a) {
2340
- if (typeof a === 'boolean') {
2341
- return String(a);
2342
- }
2343
2340
  if (typeof a === 'number') {
2344
2341
  if (isNaN(a) || a === Infinity || a === -Infinity) {
2345
2342
  return '';
@@ -2356,13 +2353,6 @@ function toString(a) {
2356
2353
  // It handles numbers, mixed alphanumeric combinations, and even
2357
2354
  // null, undefined, and Infinity
2358
2355
  function compareAlphanumeric(aStr, bStr) {
2359
- // Check if the string contains only a number
2360
- const aFloat = parseFloat(aStr);
2361
- const bFloat = parseFloat(bStr);
2362
- if (!isNaN(aFloat) && !isNaN(bFloat)) {
2363
- return compareBasic(aFloat, bFloat);
2364
- }
2365
-
2366
2356
  // Split on number groups, but keep the delimiter
2367
2357
  // Then remove falsey split values
2368
2358
  const a = aStr.split(reSplitAlphaNumeric).filter(Boolean);