@tanstack/react-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.
@@ -2372,9 +2372,6 @@
2372
2372
  return a === b ? 0 : a > b ? 1 : -1;
2373
2373
  }
2374
2374
  function toString(a) {
2375
- if (typeof a === 'boolean') {
2376
- return String(a);
2377
- }
2378
2375
  if (typeof a === 'number') {
2379
2376
  if (isNaN(a) || a === Infinity || a === -Infinity) {
2380
2377
  return '';
@@ -2391,13 +2388,6 @@
2391
2388
  // It handles numbers, mixed alphanumeric combinations, and even
2392
2389
  // null, undefined, and Infinity
2393
2390
  function compareAlphanumeric(aStr, bStr) {
2394
- // Check if the string contains only a number
2395
- const aFloat = parseFloat(aStr);
2396
- const bFloat = parseFloat(bStr);
2397
- if (!isNaN(aFloat) && !isNaN(bFloat)) {
2398
- return compareBasic(aFloat, bFloat);
2399
- }
2400
-
2401
2391
  // Split on number groups, but keep the delimiter
2402
2392
  // Then remove falsey split values
2403
2393
  const a = aStr.split(reSplitAlphaNumeric).filter(Boolean);