@tanstack/table-core 8.20.1 → 8.21.2

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.
@@ -604,8 +604,8 @@
604
604
  };
605
605
 
606
606
  const includesString = (row, columnId, filterValue) => {
607
- var _row$getValue;
608
- const search = filterValue.toLowerCase();
607
+ var _filterValue$toString, _row$getValue;
608
+ const search = filterValue == null || (_filterValue$toString = filterValue.toString()) == null ? void 0 : _filterValue$toString.toLowerCase();
609
609
  return Boolean((_row$getValue = row.getValue(columnId)) == null || (_row$getValue = _row$getValue.toString()) == null || (_row$getValue = _row$getValue.toLowerCase()) == null ? void 0 : _row$getValue.includes(search));
610
610
  };
611
611
  includesString.autoRemove = val => testFalsey(val);
@@ -623,7 +623,7 @@
623
623
  var _row$getValue4;
624
624
  return (_row$getValue4 = row.getValue(columnId)) == null ? void 0 : _row$getValue4.includes(filterValue);
625
625
  };
626
- arrIncludes.autoRemove = val => testFalsey(val) || !(val != null && val.length);
626
+ arrIncludes.autoRemove = val => testFalsey(val);
627
627
  const arrIncludesAll = (row, columnId, filterValue) => {
628
628
  return !filterValue.some(val => {
629
629
  var _row$getValue5;