From c1d6ecef0aa151cd3508a2f907811f2337d9290f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 20:12:14 +0530 Subject: [PATCH] Bump typescript to v5.3.2 (#38780) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ZeeshanTamboli --- apps/zero-runtime-next-app/package.json | 2 +- apps/zero-runtime-vite-app/package.json | 2 +- package.json | 2 +- packages/api-docs-builder-core/package.json | 2 +- packages/api-docs-builder/package.json | 2 +- packages/mui-material-next/src/Button/Button.spec.tsx | 4 +++- packages/test-utils/package.json | 2 +- packages/typescript-to-proptypes/package.json | 2 +- test/tsconfig.json | 3 ++- yarn.lock | 7 ++++++- 10 files changed, 18 insertions(+), 10 deletions(-) diff --git a/apps/zero-runtime-next-app/package.json b/apps/zero-runtime-next-app/package.json index 8bc6cd0b674eb6..9e65efab3e72a5 100644 --- a/apps/zero-runtime-next-app/package.json +++ b/apps/zero-runtime-next-app/package.json @@ -23,7 +23,7 @@ "@types/node": "20.5.7", "@types/react": "18.2.38", "@types/react-dom": "18.2.17", - "typescript": "5.1.6" + "typescript": "5.3.2" }, "resolutions": { "@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build" diff --git a/apps/zero-runtime-vite-app/package.json b/apps/zero-runtime-vite-app/package.json index e7a4839565f221..b26f712fe9860a 100644 --- a/apps/zero-runtime-vite-app/package.json +++ b/apps/zero-runtime-vite-app/package.json @@ -29,7 +29,7 @@ "local-library": "file:../local-library", "vite": "4.4.11", "vitest": "^0.34.6", - "typescript": "5.1.6" + "typescript": "5.3.2" }, "resolutions": { "@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build" diff --git a/package.json b/package.json index 484d49f7a4ce3a..5c39306712ac50 100644 --- a/package.json +++ b/package.json @@ -163,7 +163,7 @@ "stylelint-processor-styled-components": "^1.10.0", "terser-webpack-plugin": "^5.3.9", "ts-node": "^10.9.1", - "typescript": "^5.1.6", + "typescript": "^5.3.2", "webpack": "^5.88.2", "webpack-bundle-analyzer": "^4.9.1", "webpack-cli": "^5.1.4", diff --git a/packages/api-docs-builder-core/package.json b/packages/api-docs-builder-core/package.json index 766a343a5581b9..39e3da3a24d856 100644 --- a/packages/api-docs-builder-core/package.json +++ b/packages/api-docs-builder-core/package.json @@ -21,6 +21,6 @@ "@types/sinon": "^10.0.20", "chai": "^4.3.10", "sinon": "^15.2.0", - "typescript": "^5.1.6" + "typescript": "^5.3.2" } } diff --git a/packages/api-docs-builder/package.json b/packages/api-docs-builder/package.json index 0e643c29eba404..8cf56e0749e70b 100644 --- a/packages/api-docs-builder/package.json +++ b/packages/api-docs-builder/package.json @@ -36,6 +36,6 @@ "@types/sinon": "^10.0.20", "chai": "^4.3.10", "sinon": "^15.2.0", - "typescript": "^5.1.6" + "typescript": "^5.3.2" } } diff --git a/packages/mui-material-next/src/Button/Button.spec.tsx b/packages/mui-material-next/src/Button/Button.spec.tsx index 32ed31c2b756b7..1260f9caa21a3e 100644 --- a/packages/mui-material-next/src/Button/Button.spec.tsx +++ b/packages/mui-material-next/src/Button/Button.spec.tsx @@ -26,7 +26,9 @@ const buttonTest = () => ( Title - + diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 3ed66d49afeb8a..f3333dc93aeb8e 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -50,7 +50,7 @@ "@types/react-dom": "^18.2.17", "@types/react-test-renderer": "^18.0.7", "@types/sinon": "^10.0.20", - "typescript": "^5.1.6" + "typescript": "^5.3.2" }, "peerDependencies": { "react": "^18.2.0", diff --git a/packages/typescript-to-proptypes/package.json b/packages/typescript-to-proptypes/package.json index c510ce01279ca2..6eccabdefd4791 100644 --- a/packages/typescript-to-proptypes/package.json +++ b/packages/typescript-to-proptypes/package.json @@ -29,7 +29,7 @@ "@mui-internal/api-docs-builder": "^1.0.0", "doctrine": "^3.0.0", "lodash": "^4.17.21", - "typescript": "^5.1.6", + "typescript": "^5.3.2", "uuid": "^9.0.1" }, "devDependencies": { diff --git a/test/tsconfig.json b/test/tsconfig.json index b7cc8d29136617..3671f904832ee5 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -5,7 +5,8 @@ "noUnusedLocals": true, "skipLibCheck": true, "esModuleInterop": true, - "moduleResolution": "node16", + "module": "Node16", + "moduleResolution": "Node16", "types": ["mocha"] }, "include": ["e2e/**/*", "regressions/**/*"], diff --git a/yarn.lock b/yarn.lock index f98cf3f18f1529..0f2e6c96f54489 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16858,7 +16858,12 @@ types-ramda@^0.29.4: dependencies: ts-toolbelt "^9.6.0" -"typescript@>=3 < 6", typescript@^5.1.6, typescript@~5.1.6: +"typescript@>=3 < 6", typescript@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.2.tgz#00d1c7c1c46928c5845c1ee8d0cc2791031d4c43" + integrity sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ== + +typescript@~5.1.6: version "5.1.6" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==