Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bam32bittheme

Package Overview
Dependencies
Maintainers
0
Versions
379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bam32bittheme - npm Package Compare versions

Comparing version 2.1.103 to 2.1.104

19

dist/components/Table.js

@@ -87,5 +87,20 @@ "use strict";

const visibility = {};
const areRowsEmpty = rows.every(row => columns.every(column => {
if (column.accessorFn) {
return !column.accessorFn(row);
}
return !row[column.field];
}));
columns.forEach(column => {
const isColumnEmpty = rows.every(row => !row[column.field]);
visibility[column.field] = !isColumnEmpty; // Eğer sütun boşsa false
const hasCustomCell = !!column.Cell; // Eğer column.Cell varsa true
const isColumnEmpty = rows.every(row => {
if (column.accessorFn) {
return !column.accessorFn(row); // accessorFn sonucu boşsa true
}
return !row[column.field];
});
// Eğer satırlar tamamen boşsa tüm kolonlar görünür
// Eğer accessorFn varsa ve boş dönüyorsa kolon gözükmesin
visibility[column.field] = areRowsEmpty || !column.accessorFn && (hasCustomCell || !isColumnEmpty);
});

@@ -92,0 +107,0 @@ setColumnVisibility(visibility); // Sütun görünürlüğünü güncelle

2

package.json
{
"name": "bam32bittheme",
"version": "2.1.103",
"version": "2.1.104",
"private": false,

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc