Socket
Socket
Sign inDemoInstall

@mui/x-data-grid-pro

Package Overview
Dependencies
Maintainers
10
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/x-data-grid-pro - npm Package Compare versions

Comparing version 7.0.0-beta.3 to 7.0.0-beta.4

7

esm/hooks/features/columnResize/useGridColumnResize.js

@@ -137,7 +137,4 @@ import _extends from "@babel/runtime/helpers/esm/extends";

const widths = cells.map(cell => {
var _cell$firstElementChi, _cell$firstElementChi2;
const style = window.getComputedStyle(cell, null);
const paddingWidth = parseInt(style.paddingLeft, 10) + parseInt(style.paddingRight, 10);
const contentWidth = (_cell$firstElementChi = (_cell$firstElementChi2 = cell.firstElementChild) == null ? void 0 : _cell$firstElementChi2.getBoundingClientRect().width) != null ? _cell$firstElementChi : 0;
return paddingWidth + contentWidth;
var _cell$getBoundingClie;
return (_cell$getBoundingClie = cell.getBoundingClientRect().width) != null ? _cell$getBoundingClie : 0;
});

@@ -144,0 +141,0 @@ const filteredWidths = options.includeOutliers ? widths : excludeOutliers(widths, options.outliersFactor);

import { ponyfillGlobal } from '@mui/utils';
export const getReleaseInfo = () => {
const releaseInfo = "MTcwODAyMzYwMDAwMA==";
const releaseInfo = "MTcwODYyODQwMDAwMA==";
if (process.env.NODE_ENV !== 'production') {

@@ -5,0 +5,0 @@ // A simple hack to set the value in the test environment (has no build step).

@@ -146,6 +146,3 @@ "use strict";

const widths = cells.map(cell => {
const style = window.getComputedStyle(cell, null);
const paddingWidth = parseInt(style.paddingLeft, 10) + parseInt(style.paddingRight, 10);
const contentWidth = cell.firstElementChild?.getBoundingClientRect().width ?? 0;
return paddingWidth + contentWidth;
return cell.getBoundingClientRect().width ?? 0;
});

@@ -152,0 +149,0 @@ const filteredWidths = options.includeOutliers ? widths : excludeOutliers(widths, options.outliersFactor);

/**
* @mui/x-data-grid-pro v7.0.0-beta.3
* @mui/x-data-grid-pro v7.0.0-beta.4
*

@@ -4,0 +4,0 @@ * @license MUI X Commercial

@@ -137,6 +137,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

const widths = cells.map(cell => {
const style = window.getComputedStyle(cell, null);
const paddingWidth = parseInt(style.paddingLeft, 10) + parseInt(style.paddingRight, 10);
const contentWidth = cell.firstElementChild?.getBoundingClientRect().width ?? 0;
return paddingWidth + contentWidth;
return cell.getBoundingClientRect().width ?? 0;
});

@@ -143,0 +140,0 @@ const filteredWidths = options.includeOutliers ? widths : excludeOutliers(widths, options.outliersFactor);

/**
* @mui/x-data-grid-pro v7.0.0-beta.3
* @mui/x-data-grid-pro v7.0.0-beta.4
*

@@ -4,0 +4,0 @@ * @license MUI X Commercial

import { ponyfillGlobal } from '@mui/utils';
export const getReleaseInfo = () => {
const releaseInfo = "MTcwODAyMzYwMDAwMA==";
const releaseInfo = "MTcwODYyODQwMDAwMA==";
if (process.env.NODE_ENV !== 'production') {

@@ -5,0 +5,0 @@ // A simple hack to set the value in the test environment (has no build step).

{
"name": "@mui/x-data-grid-pro",
"version": "7.0.0-beta.3",
"version": "7.0.0-beta.4",
"description": "The Pro plan edition of the data grid component (MUI X).",

@@ -38,3 +38,3 @@ "author": "MUI Team",

"@mui/utils": "^5.15.9",
"@mui/x-data-grid": "7.0.0-beta.3",
"@mui/x-data-grid": "7.0.0-beta.4",
"@mui/x-license": "7.0.0-beta.2",

@@ -41,0 +41,0 @@ "@types/format-util": "^1.0.4",

@@ -9,3 +9,3 @@ "use strict";

const getReleaseInfo = () => {
const releaseInfo = "MTcwODAyMzYwMDAwMA==";
const releaseInfo = "MTcwODYyODQwMDAwMA==";
if (process.env.NODE_ENV !== 'production') {

@@ -12,0 +12,0 @@ // A simple hack to set the value in the test environment (has no build step).

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

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