Skip to content

Commit c4ba9f0

Browse files
chore(deps): bump @mui/x-data-grid from 6.20.4 to 7.13.0 (#527)
* chore(deps): bump @mui/x-data-grid from 6.20.4 to 7.13.0 Bumps [@mui/x-data-grid](https://github.com/mui/mui-x/tree/HEAD/packages/x-data-grid) from 6.20.4 to 7.13.0. - [Release notes](https://github.com/mui/mui-x/releases) - [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md) - [Commits](https://github.com/mui/mui-x/commits/v7.13.0/packages/x-data-grid) --- updated-dependencies: - dependency-name: "@mui/x-data-grid" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * refactor(mui-grid@7.0): upgrade mui-grid to 7.0 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Christian Tran <ctran4347@gmail.com>
1 parent 3d81bcf commit c4ba9f0

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@fontsource/roboto": "^5.0.8",
3838
"@mui/icons-material": "^5.11.11",
3939
"@mui/material": "^5.14.5",
40-
"@mui/x-data-grid": "^6.6.0",
40+
"@mui/x-data-grid": "^7.13.0",
4141
"@toast-ui/editor-plugin-code-syntax-highlight": "^3.1.0",
4242
"@toast-ui/react-editor": "^3.2.2",
4343
"@types/prismjs": "^1.26.4",

pages/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const Home: NextPage<HomePageProps> = ({ allCourseData }) => {
6868
headerName: `Difficulty ${isDesktop ? '(out of 5)' : ''}`,
6969
flex: isDesktop ? 0.5 : 0,
7070
minWidth: isDesktop ? 50 : 150,
71-
valueGetter: (params: any) => roundNumber(params.row.avgDifficulty, 1),
71+
valueGetter: (value: any, row: any) => roundNumber(row.avgDifficulty, 1),
7272
type: 'number',
7373
},
7474
{
@@ -77,7 +77,7 @@ const Home: NextPage<HomePageProps> = ({ allCourseData }) => {
7777
flex: isDesktop ? 0.5 : 0,
7878
minWidth: isDesktop ? 50 : 150,
7979

80-
valueGetter: (params: any) => roundNumber(params.row.avgWorkload, 1),
80+
valueGetter: (value: any, row: any) => roundNumber(row.avgWorkload, 1),
8181
type: 'number',
8282
},
8383
{
@@ -86,7 +86,7 @@ const Home: NextPage<HomePageProps> = ({ allCourseData }) => {
8686
flex: isDesktop ? 0.5 : 0,
8787
minWidth: isDesktop ? 50 : 150,
8888

89-
valueGetter: (params: any) => roundNumber(params.row.avgOverall, 1),
89+
valueGetter: (value: any, row: any) => roundNumber(row.avgOverall, 1),
9090
type: 'number',
9191
},
9292
{

yarn.lock

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@
10571057
resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310"
10581058
integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==
10591059

1060-
"@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
1060+
"@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.9", "@babel/runtime@^7.25.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
10611061
version "7.25.0"
10621062
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.0.tgz#3af9a91c1b739c569d5d80cc917280919c544ecb"
10631063
integrity sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==
@@ -2333,7 +2333,7 @@
23332333
csstype "^3.1.3"
23342334
prop-types "^15.8.1"
23352335

2336-
"@mui/system@^5.16.7":
2336+
"@mui/system@^5.16.5", "@mui/system@^5.16.7":
23372337
version "5.16.7"
23382338
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.16.7.tgz#4583ca5bf3b38942e02c15a1e622ba869ac51393"
23392339
integrity sha512-Jncvs/r/d/itkxh7O7opOunTqbbSSzMTHzZkNLM+FjAOg+cYAZHrPDlYe1ZGKUYORwwb2XexlWnpZp0kZ4AHuA==
@@ -2352,7 +2352,7 @@
23522352
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.15.tgz#dadd232fe9a70be0d526630675dff3b110f30b53"
23532353
integrity sha512-nbo7yPhtKJkdf9kcVOF8JZHPZTmqXjJ/tI0bdWgHg5tp9AnIN4Y7f7wm9T+0SyGYJk76+GYZ8Q5XaTYAsUHN0Q==
23542354

2355-
"@mui/utils@^5.14.16", "@mui/utils@^5.16.6":
2355+
"@mui/utils@^5.16.5", "@mui/utils@^5.16.6":
23562356
version "5.16.6"
23572357
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.16.6.tgz#905875bbc58d3dcc24531c3314a6807aba22a711"
23582358
integrity sha512-tWiQqlhxAt3KENNiSRL+DIn9H5xNVK6Jjf70x3PnfQPz1MPBdh7yyIcAyVBT9xiw7hP3SomRhPR7hzBMBCjqEA==
@@ -2364,17 +2364,27 @@
23642364
prop-types "^15.8.1"
23652365
react-is "^18.3.1"
23662366

2367-
"@mui/x-data-grid@^6.6.0":
2368-
version "6.20.4"
2369-
resolved "https://registry.yarnpkg.com/@mui/x-data-grid/-/x-data-grid-6.20.4.tgz#51120757078764dc8cccef50bc1257c2407e103d"
2370-
integrity sha512-I0JhinVV4e25hD2dB+R6biPBtpGeFrXf8RwlMPQbr9gUggPmPmNtWKo8Kk2PtBBMlGtdMAgHWe7PqhmucUxU1w==
2367+
"@mui/x-data-grid@^7.13.0":
2368+
version "7.13.0"
2369+
resolved "https://registry.yarnpkg.com/@mui/x-data-grid/-/x-data-grid-7.13.0.tgz#23629576d05e7141380c0fcd86de469ed9fe0658"
2370+
integrity sha512-opV4OgNqc9UoKkQ1z5Ot2AkluwiVQMo6UmDaxmT/v0k2uQ77eQvxJqbnCwYll0XjsRzPz6ehiTaK3nbhXm0sIQ==
23712371
dependencies:
2372-
"@babel/runtime" "^7.23.2"
2373-
"@mui/utils" "^5.14.16"
2374-
clsx "^2.0.0"
2372+
"@babel/runtime" "^7.25.0"
2373+
"@mui/system" "^5.16.5"
2374+
"@mui/utils" "^5.16.5"
2375+
"@mui/x-internals" "7.13.0"
2376+
clsx "^2.1.1"
23752377
prop-types "^15.8.1"
23762378
reselect "^4.1.8"
23772379

2380+
"@mui/x-internals@7.13.0":
2381+
version "7.13.0"
2382+
resolved "https://registry.yarnpkg.com/@mui/x-internals/-/x-internals-7.13.0.tgz#80ab1ecf6ffa345a800a94b4181dae6c487b3c51"
2383+
integrity sha512-eUK7iykkDWU+wBfTzE/S0qh4awgVgsORfrpvuPbUp+E6qUj1Xhu9M/WKzbwz0CPFnTJZwBQ9KYrxpGXnPBEpRQ==
2384+
dependencies:
2385+
"@babel/runtime" "^7.25.0"
2386+
"@mui/utils" "^5.16.5"
2387+
23782388
"@ndelangen/get-tarball@^3.0.7":
23792389
version "3.0.9"
23802390
resolved "https://registry.yarnpkg.com/@ndelangen/get-tarball/-/get-tarball-3.0.9.tgz#727ff4454e65f34707e742a59e5e6b1f525d8964"
@@ -5632,7 +5642,7 @@ clone@^1.0.2:
56325642
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
56335643
integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==
56345644

5635-
clsx@^2.0.0, clsx@^2.1.0, clsx@^2.1.1:
5645+
clsx@^2.1.0, clsx@^2.1.1:
56365646
version "2.1.1"
56375647
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.1.tgz#eed397c9fd8bd882bfb18deab7102049a2f32999"
56385648
integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==

0 commit comments

Comments
 (0)