@prt-ts/fluent-react-table-v2 9.46.8-build.3.0 → 9.46.8-build.4.0

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.
package/index.cjs.js CHANGED
@@ -1192,7 +1192,7 @@ const arrIncludesSome = (row, columnId, value) => {
1192
1192
  var _a;
1193
1193
  // Rank the item
1194
1194
  const rowValue = row.getValue(columnId);
1195
- const lowerCaseValues = value.map((v) => `${v || ''}`.toLowerCase());
1195
+ const lowerCaseValues = (value || []).map((v) => `${v || ''}`.toLowerCase());
1196
1196
  const passed = Array.isArray(value) &&
1197
1197
  ((value === null || value === void 0 ? void 0 : value.length) === 0 || lowerCaseValues.includes((_a = `${rowValue}`) === null || _a === void 0 ? void 0 : _a.toLowerCase()));
1198
1198
  return passed;
package/index.esm.js CHANGED
@@ -1170,7 +1170,7 @@ const arrIncludesSome = (row, columnId, value) => {
1170
1170
  var _a;
1171
1171
  // Rank the item
1172
1172
  const rowValue = row.getValue(columnId);
1173
- const lowerCaseValues = value.map((v) => `${v || ''}`.toLowerCase());
1173
+ const lowerCaseValues = (value || []).map((v) => `${v || ''}`.toLowerCase());
1174
1174
  const passed = Array.isArray(value) &&
1175
1175
  ((value === null || value === void 0 ? void 0 : value.length) === 0 || lowerCaseValues.includes((_a = `${rowValue}`) === null || _a === void 0 ? void 0 : _a.toLowerCase()));
1176
1176
  return passed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prt-ts/fluent-react-table-v2",
3
- "version": "9.46.8-build.3.0",
3
+ "version": "9.46.8-build.4.0",
4
4
  "peerDependencies": {
5
5
  "react": ">=17.0.0",
6
6
  "react-dom": ">=17.0.0",