Socket
Socket
Sign inDemoInstall

gestalt

Package Overview
Dependencies
Maintainers
0
Versions
2666
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gestalt - npm Package Compare versions

Comparing version 157.2.3 to 157.2.4

2

package.json
{
"name": "gestalt",
"version": "157.2.3",
"version": "157.2.4",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "homepage": "https://gestalt.pinterest.systems/",

@@ -59,7 +59,7 @@ import { Cache } from './Cache';

const columnSpanConfig = _getColumnSpanConfig(item);
if (typeof columnSpanConfig === 'number') {
return columnSpanConfig;
}
const gridSize = columnCountToGridSize(columnCount);
return columnSpanConfig[gridSize] ?? 1;
const columnSpan =
typeof columnSpanConfig === 'number' ? columnSpanConfig : columnSpanConfig[gridSize] ?? 1;
// a multi column item can never span more columns than there are in the grid
return Math.min(columnSpan, columnCount);
}

@@ -511,6 +511,7 @@

const multiColumnItemColumnSpan = Math.min(
calculateActualColumnSpan({ columnCount, item: multiColumnItem, _getColumnSpanConfig }),
const multiColumnItemColumnSpan = calculateActualColumnSpan({
columnCount,
);
item: multiColumnItem,
_getColumnSpanConfig,
});

@@ -517,0 +518,0 @@ // Skip the graph logic if the two column item can be displayed on the first row,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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