diff --git a/package.json b/package.json index c133b697217a2..1ebc5577d75b4 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "@playwright/test": "^1.44.1", "@types/babel__core": "^7.20.5", "@types/babel__traverse": "^7.20.6", - "@types/chai": "^4.3.20", + "@types/chai": "^5.0.1", "@types/chai-dom": "^1.11.3", "@types/fs-extra": "^11.0.4", "@types/karma": "^6.3.9", @@ -128,7 +128,7 @@ "babel-plugin-replace-imports": "^1.0.2", "babel-plugin-search-and-replace": "^1.1.1", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", - "chai": "^4.5.0", + "chai": "^5.1.2", "chai-dom": "^1.12.0", "compression-webpack-plugin": "^11.1.0", "concurrently": "^9.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e62821132aade..ed9cfdc8f2bc3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -123,8 +123,8 @@ importers: specifier: ^7.20.6 version: 7.20.6 '@types/chai': - specifier: ^4.3.20 - version: 4.3.20 + specifier: ^5.0.1 + version: 5.0.1 '@types/chai-dom': specifier: ^1.11.3 version: 1.11.3 @@ -198,11 +198,11 @@ importers: specifier: ^0.4.24 version: 0.4.24 chai: - specifier: ^4.5.0 - version: 4.5.0 + specifier: ^5.1.2 + version: 5.1.2 chai-dom: specifier: ^1.12.0 - version: 1.12.0(chai@4.5.0) + version: 1.12.0(chai@5.1.2) compression-webpack-plugin: specifier: ^11.1.0 version: 11.1.0(webpack@5.95.0) @@ -430,7 +430,7 @@ importers: version: 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) '@mui/docs': specifier: 6.1.6 - version: 6.1.6(5qvtg2qlcuewh33f6ogt54yk7e) + version: 6.1.6(6ov4glspyeki43dyspbacbw5ou) '@mui/icons-material': specifier: ^5.16.7 version: 5.16.7(@mui/material@5.16.7(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) @@ -1571,8 +1571,8 @@ importers: specifier: ^9.7.5 version: 9.7.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/chai': - specifier: ^4.3.20 - version: 4.3.20 + specifier: ^5.0.1 + version: 5.0.1 '@types/karma': specifier: ^6.3.9 version: 6.3.9 @@ -1589,8 +1589,8 @@ importers: specifier: ^7.5.8 version: 7.5.8 chai: - specifier: ^4.5.0 - version: 4.5.0 + specifier: ^5.1.2 + version: 5.1.2 dayjs: specifier: ^1.11.13 version: 1.11.13 @@ -4001,8 +4001,8 @@ packages: '@types/chai-dom@1.11.3': resolution: {integrity: sha512-EUEZI7uID4ewzxnU7DJXtyvykhQuwe+etJ1wwOiJyQRTH/ifMWKX+ghiXkxCUvNJ6IQDodf0JXhuP6zZcy2qXQ==} - '@types/chai@4.3.20': - resolution: {integrity: sha512-/pC9HAB5I/xMlc5FP77qjCnI16ChlJfW0tGa0IUcFn38VJrTV6DeZ60NU5KZBtaOZqjdpwTWohz5HU1RrhiYxQ==} + '@types/chai@5.0.1': + resolution: {integrity: sha512-5T8ajsg3M/FOncpLYW7sdOcD6yf4+722sze/tc4KQV0P8Z2rAr3SAuHCIkYmYpt8VbcQlnz8SxlOlPQYefe4cA==} '@types/chance@1.1.6': resolution: {integrity: sha512-V+pm3stv1Mvz8fSKJJod6CglNGVqEQ6OyuqitoDkWywEODM/eJd1eSuIp9xt6DrX8BWZ2eDSIzbw1tPCUTvGbQ==} @@ -4052,6 +4052,9 @@ packages: '@types/debug@4.1.12': resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + '@types/doctrine@0.0.9': resolution: {integrity: sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA==} @@ -4977,8 +4980,8 @@ packages: resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} engines: {node: '>=4'} - chai@5.1.1: - resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + chai@5.1.2: + resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} engines: {node: '>=12'} chainsaw@0.1.0: @@ -11781,7 +11784,7 @@ snapshots: '@mui/core-downloads-tracker@5.16.7': {} - '@mui/docs@6.1.6(5qvtg2qlcuewh33f6ogt54yk7e)': + '@mui/docs@6.1.6(6ov4glspyeki43dyspbacbw5ou)': dependencies: '@babel/runtime': 7.26.0 '@mui/base': 5.0.0-beta.40(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -11789,7 +11792,7 @@ snapshots: '@mui/internal-markdown': 1.0.19 '@mui/material': 5.16.7(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/system': 5.16.7(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) - chai: 5.1.1 + chai: 5.1.2 clipboard-copy: 4.0.1 clsx: 2.1.1 csstype: 3.1.3 @@ -12920,9 +12923,11 @@ snapshots: '@types/chai-dom@1.11.3': dependencies: - '@types/chai': 4.3.20 + '@types/chai': 5.0.1 - '@types/chai@4.3.20': {} + '@types/chai@5.0.1': + dependencies: + '@types/deep-eql': 4.0.2 '@types/chance@1.1.6': {} @@ -12968,6 +12973,8 @@ snapshots: dependencies: '@types/ms': 0.7.34 + '@types/deep-eql@4.0.2': {} + '@types/doctrine@0.0.9': {} '@types/eslint@8.56.12': @@ -13306,7 +13313,7 @@ snapshots: dependencies: '@vitest/spy': 2.1.3 '@vitest/utils': 2.1.3 - chai: 5.1.1 + chai: 5.1.2 tinyrainbow: 1.2.0 '@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(vite@5.3.4(@types/node@20.17.3)(terser@5.27.0))': @@ -14084,6 +14091,10 @@ snapshots: dependencies: chai: 4.5.0 + chai-dom@1.12.0(chai@5.1.2): + dependencies: + chai: 5.1.2 + chai@4.5.0: dependencies: assertion-error: 1.1.0 @@ -14094,7 +14105,7 @@ snapshots: pathval: 1.1.1 type-detect: 4.1.0 - chai@5.1.1: + chai@5.1.2: dependencies: assertion-error: 2.0.1 check-error: 2.1.1 @@ -19872,7 +19883,7 @@ snapshots: '@vitest/snapshot': 2.1.3 '@vitest/spy': 2.1.3 '@vitest/utils': 2.1.3 - chai: 5.1.1 + chai: 5.1.2 debug: 4.3.7(supports-color@8.1.1) magic-string: 0.30.11 pathe: 1.1.2 diff --git a/test/package.json b/test/package.json index 7b7c925193865..f7df596cafc15 100644 --- a/test/package.json +++ b/test/package.json @@ -20,13 +20,13 @@ "@mui/x-license": "workspace:*", "@playwright/test": "^1.44.1", "@react-spring/web": "^9.7.5", - "@types/chai": "^4.3.20", + "@types/chai": "^5.0.1", "@types/karma": "^6.3.9", "@types/moment-jalaali": "^0.7.9", "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "@types/semver": "^7.5.8", - "chai": "^4.5.0", + "chai": "^5.1.2", "dayjs": "^1.11.13", "moment": "^2.30.1", "moment-jalaali": "^0.10.1",