@tanstack/svelte-table 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.
@@ -614,8 +614,8 @@
614
614
  };
615
615
 
616
616
  const includesString = (row, columnId, filterValue) => {
617
- var _row$getValue;
618
- const search = filterValue.toLowerCase();
617
+ var _filterValue$toString, _row$getValue;
618
+ const search = filterValue == null || (_filterValue$toString = filterValue.toString()) == null ? void 0 : _filterValue$toString.toLowerCase();
619
619
  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));
620
620
  };
621
621
  includesString.autoRemove = val => testFalsey(val);
@@ -633,7 +633,7 @@
633
633
  var _row$getValue4;
634
634
  return (_row$getValue4 = row.getValue(columnId)) == null ? void 0 : _row$getValue4.includes(filterValue);
635
635
  };
636
- arrIncludes.autoRemove = val => testFalsey(val) || !(val != null && val.length);
636
+ arrIncludes.autoRemove = val => testFalsey(val);
637
637
  const arrIncludesAll = (row, columnId, filterValue) => {
638
638
  return !filterValue.some(val => {
639
639
  var _row$getValue5;