New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

bam32bittheme

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bam32bittheme - npm Package Compare versions

Comparing version

to
2.1.123

@@ -15,2 +15,3 @@ "use strict";

require("core-js/modules/es.string.includes.js");
require("core-js/modules/es.string.replace.js");
require("core-js/modules/web.dom-collections.iterator.js");

@@ -150,8 +151,9 @@ var _react = _interopRequireWildcard(require("react"));

(0, _react.useEffect)(() => {
const splitingGlobalFilter = globalFilter !== null && globalFilter !== void 0 && globalFilter.length ? globalFilter.split(" ").filter(item => item !== '') : [""];
const matchedObjects = rows.filter(obj => {
const fieldValues = columns.map(column => obj[column === null || column === void 0 ? void 0 : column.field]);
return fieldValues.some(value => splitingGlobalFilter.some(globalValue => String(value).toLowerCase().includes(globalValue === null || globalValue === void 0 ? void 0 : globalValue.toLowerCase())));
const normalizedGlobalFilter = globalFilter !== null && globalFilter !== void 0 && globalFilter.length ? globalFilter.replace(/\s+/g, "").toLowerCase() : [""];
const filteredRows = rows.filter(row => {
const columnValues = columns.map(column => row[column === null || column === void 0 ? void 0 : column.field]);
const normalizedRowValues = columnValues.join("").replace(/\s+/g, "").toLowerCase();
return normalizedRowValues.includes(normalizedGlobalFilter);
});
setFilteredRows(matchedObjects);
setFilteredRows(filteredRows);
}, [globalFilter]);

@@ -158,0 +160,0 @@ const tableInstance = (0, _materialReactTable.useMaterialReactTable)(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({

{
"name": "bam32bittheme",
"version": "2.1.122",
"version": "2.1.123",
"private": false,

@@ -5,0 +5,0 @@ "description": "32bit Theme for Material UI v5.x",