@mui/x-data-grid-pro
Advanced tools
Comparing version 7.0.0-alpha.1 to 7.0.0-alpha.2
/** | ||
* @mui/x-data-grid-pro v7.0.0-alpha.1 | ||
* @mui/x-data-grid-pro v7.0.0-alpha.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
@@ -30,4 +30,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
})(function () { | ||
var _ref3; | ||
return _ref3 = { | ||
return _defineProperty(_defineProperty({ | ||
position: 'absolute', | ||
@@ -38,7 +37,7 @@ top: 0, | ||
bottom: 0 | ||
}, _defineProperty(_ref3, "&.".concat(gridClasses['scrollArea--left']), { | ||
}, "&.".concat(gridClasses['scrollArea--left']), { | ||
left: 0 | ||
}), _defineProperty(_ref3, "&.".concat(gridClasses['scrollArea--right']), { | ||
}), "&.".concat(gridClasses['scrollArea--right']), { | ||
right: 0 | ||
}), _ref3; | ||
}); | ||
}); | ||
@@ -45,0 +44,0 @@ function GridScrollAreaRaw(props) { |
@@ -158,3 +158,2 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
var pinColumn = React.useCallback(function (field, side) { | ||
var _newPinnedColumns; | ||
checkIfEnabled('pinColumn'); | ||
@@ -165,5 +164,5 @@ if (apiRef.current.isColumnPinned(field) === side) { | ||
var otherSide = side === GridPinnedPosition.right ? GridPinnedPosition.left : GridPinnedPosition.right; | ||
var newPinnedColumns = (_newPinnedColumns = {}, _defineProperty(_newPinnedColumns, side, [].concat(_toConsumableArray(pinnedColumns[side] || []), [field])), _defineProperty(_newPinnedColumns, otherSide, (pinnedColumns[otherSide] || []).filter(function (column) { | ||
var newPinnedColumns = _defineProperty(_defineProperty({}, side, [].concat(_toConsumableArray(pinnedColumns[side] || []), [field])), otherSide, (pinnedColumns[otherSide] || []).filter(function (column) { | ||
return column !== field; | ||
})), _newPinnedColumns); | ||
})); | ||
apiRef.current.setPinnedColumns(newPinnedColumns); | ||
@@ -170,0 +169,0 @@ }, [apiRef, checkIfEnabled, pinnedColumns]); |
/** | ||
* @mui/x-data-grid-pro v7.0.0-alpha.1 | ||
* @mui/x-data-grid-pro v7.0.0-alpha.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
import { ponyfillGlobal } from '@mui/utils'; | ||
export var getReleaseInfo = function getReleaseInfo() { | ||
var releaseInfo = "MTcwMDE3MjAwMDAwMA=="; | ||
var releaseInfo = "MTcwMDY5MDQwMDAwMA=="; | ||
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). |
/** | ||
* @mui/x-data-grid-pro v7.0.0-alpha.1 | ||
* @mui/x-data-grid-pro v7.0.0-alpha.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
import { ponyfillGlobal } from '@mui/utils'; | ||
export const getReleaseInfo = () => { | ||
const releaseInfo = "MTcwMDE3MjAwMDAwMA=="; | ||
const releaseInfo = "MTcwMDY5MDQwMDAwMA=="; | ||
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). |
/** | ||
* @mui/x-data-grid-pro v7.0.0-alpha.1 | ||
* @mui/x-data-grid-pro v7.0.0-alpha.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
@@ -9,3 +9,3 @@ "use strict"; | ||
const getReleaseInfo = () => { | ||
const releaseInfo = "MTcwMDE3MjAwMDAwMA=="; | ||
const releaseInfo = "MTcwMDY5MDQwMDAwMA=="; | ||
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). |
{ | ||
"name": "@mui/x-data-grid-pro", | ||
"version": "7.0.0-alpha.1", | ||
"version": "7.0.0-alpha.2", | ||
"description": "The Pro plan edition of the data grid component (MUI X).", | ||
@@ -21,2 +21,3 @@ "author": "MUI Team", | ||
"mui", | ||
"mui-x", | ||
"react-table", | ||
@@ -35,5 +36,5 @@ "table", | ||
"dependencies": { | ||
"@babel/runtime": "^7.23.2", | ||
"@mui/utils": "^5.14.16", | ||
"@mui/x-data-grid": "7.0.0-alpha.1", | ||
"@babel/runtime": "^7.23.4", | ||
"@mui/utils": "^5.14.18", | ||
"@mui/x-data-grid": "7.0.0-alpha.2", | ||
"@mui/x-license-pro": "7.0.0-alpha.1", | ||
@@ -40,0 +41,0 @@ "@types/format-util": "^1.0.4", |
import { ponyfillGlobal } from '@mui/utils'; | ||
export const getReleaseInfo = () => { | ||
const releaseInfo = "MTcwMDE3MjAwMDAwMA=="; | ||
const releaseInfo = "MTcwMDY5MDQwMDAwMA=="; | ||
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). |
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1421654
0
27246
49
+ Added@mui/x-data-grid@7.0.0-alpha.2(transitive)
- Removed@mui/x-data-grid@7.0.0-alpha.1(transitive)
Updated@babel/runtime@^7.23.4
Updated@mui/utils@^5.14.18