diff --git a/package.json b/package.json index 2af321eb53298..adc66a6c8214c 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "@next/eslint-plugin-next": "14.2.3", "@octokit/plugin-retry": "^6.0.1", "@octokit/rest": "^20.0.2", - "@playwright/test": "1.43.1", + "@playwright/test": "^1.43.1", "@testing-library/react": "^14.2.1", "@types/babel__core": "^7.20.5", "@types/chai": "^4.3.14", @@ -164,7 +164,7 @@ "lerna": "^8.1.2", "lodash": "^4.17.21", "markdownlint-cli2": "^0.12.1", - "mocha": "^10.3.0", + "mocha": "^10.4.0", "moment": "^2.30.1", "moment-timezone": "^0.5.44", "nyc": "^15.1.0", diff --git a/packages/eslint-plugin-material-ui/package.json b/packages/eslint-plugin-material-ui/package.json index 87cdbf6ee1ce6..1d0824e8c6378 100644 --- a/packages/eslint-plugin-material-ui/package.json +++ b/packages/eslint-plugin-material-ui/package.json @@ -6,7 +6,7 @@ "main": "src/index.js", "devDependencies": { "@types/eslint": "^8.56.5", - "@typescript-eslint/experimental-utils": "^5.62.0", + "@typescript-eslint/utils": "^6.21.0", "@typescript-eslint/parser": "^6.21.0" }, "scripts": { diff --git a/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.js b/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.js index 6b67202bee092..32d35ca8867e8 100644 --- a/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.js +++ b/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.js @@ -1,4 +1,4 @@ -const { ESLintUtils, AST_NODE_TYPES } = require('@typescript-eslint/experimental-utils'); +const { ESLintUtils, AST_NODE_TYPES } = require('@typescript-eslint/utils'); const createESLintRule = ESLintUtils.RuleCreator(() => ``); diff --git a/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.test.js b/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.test.js index f0cb4654f9034..bf7ae7143c539 100644 --- a/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.test.js +++ b/packages/eslint-plugin-material-ui/src/rules/no-direct-state-access.test.js @@ -7,7 +7,7 @@ const originalDocument = global.document; global.document = undefined; const path = require('path'); -const { TSESLint } = require('@typescript-eslint/experimental-utils'); +const { TSESLint } = require('@typescript-eslint/utils'); const rule = require('./no-direct-state-access'); const ruleTester = new TSESLint.RuleTester({ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 303cedb344049..b39c13c3dd5c6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,7 +108,7 @@ importers: specifier: ^20.0.2 version: 20.0.2 '@playwright/test': - specifier: 1.43.1 + specifier: ^1.43.1 version: 1.43.1 '@testing-library/react': specifier: ^14.2.1 @@ -321,7 +321,7 @@ importers: specifier: ^0.12.1 version: 0.12.1 mocha: - specifier: ^10.3.0 + specifier: ^10.4.0 version: 10.4.0 moment: specifier: ^2.30.1 @@ -669,12 +669,12 @@ importers: '@types/eslint': specifier: ^8.56.5 version: 8.56.7 - '@typescript-eslint/experimental-utils': - specifier: ^5.62.0 - version: 5.62.0(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': specifier: ^6.21.0 version: 6.21.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': + specifier: ^6.21.0 + version: 6.21.0(eslint@8.57.0)(typescript@5.4.5) packages/x-charts: dependencies: @@ -1294,7 +1294,7 @@ importers: specifier: workspace:* version: link:../packages/x-date-pickers-pro/build '@playwright/test': - specifier: 1.43.1 + specifier: ^1.43.1 version: 1.43.1 '@react-spring/web': specifier: ^9.7.3 @@ -1306,7 +1306,7 @@ importers: specifier: ^15.7.11 version: 15.7.11 '@types/react': - specifier: 18.2.60 + specifier: ^18.2.60 version: 18.2.60 chai: specifier: ^4.4.1 @@ -5397,19 +5397,6 @@ packages: - supports-color dev: true - /@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) - eslint: 8.57.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -5431,14 +5418,6 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@5.62.0: - resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - dev: true - /@typescript-eslint/scope-manager@6.21.0: resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} engines: {node: ^16.0.0 || >=18.0.0} @@ -5467,37 +5446,11 @@ packages: - supports-color dev: true - /@typescript-eslint/types@5.62.0: - resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - /@typescript-eslint/types@6.21.0: resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.4.5): - resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.6.0 - tsutils: 3.21.0(typescript@5.4.5) - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/typescript-estree@6.21.0(typescript@5.4.5): resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -5520,26 +5473,6 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.4.5) - eslint: 8.57.0 - eslint-scope: 5.1.1 - semver: 7.6.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -5559,14 +5492,6 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@5.62.0: - resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.62.0 - eslint-visitor-keys: 3.4.3 - dev: true - /@typescript-eslint/visitor-keys@6.21.0: resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} engines: {node: ^16.0.0 || >=18.0.0} @@ -17034,10 +16959,6 @@ packages: strip-bom: 3.0.0 dev: true - /tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - dev: true - /tslib@2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} dev: false @@ -17050,16 +16971,6 @@ packages: engines: {node: '>=0.6.x'} dev: true - /tsutils@3.21.0(typescript@5.4.5): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 5.4.5 - dev: true - /tsx@4.7.3: resolution: {integrity: sha512-+fQnMqIp/jxZEXLcj6WzYy9FhcS5/Dfk8y4AtzJ6ejKcKqmfTF8Gso/jtrzDggCF2zTU20gJa6n8XqPYwDAUYQ==} engines: {node: '>=18.0.0'} diff --git a/test/package.json b/test/package.json index a873e46c72fbd..f2376ef54e34d 100644 --- a/test/package.json +++ b/test/package.json @@ -15,10 +15,10 @@ "@mui/x-date-pickers": "workspace:*", "@mui/x-date-pickers-pro": "workspace:*", "@react-spring/web": "^9.7.3", - "@playwright/test": "1.43.1", + "@playwright/test": "^1.43.1", "@types/chai": "^4.3.14", "@types/prop-types": "^15.7.11", - "@types/react": "18.2.60", + "@types/react": "^18.2.60", "chai": "^4.4.1", "dayjs": "^1.11.10", "prop-types": "^15.8.1",