From c923169cbfd5ed32e467cabca844e4ccfc42357e Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 13 Nov 2023 17:35:51 -0500 Subject: [PATCH 1/7] feat: update TypeScript to 5.3-rc --- docs/maintenance/Dependency_Version_Upgrades.mdx | 7 +++---- package.json | 2 +- .../src/parseSettings/warnAboutTSVersion.ts | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/maintenance/Dependency_Version_Upgrades.mdx b/docs/maintenance/Dependency_Version_Upgrades.mdx index 2da6e3d6dab6..8ee1ef04eece 100644 --- a/docs/maintenance/Dependency_Version_Upgrades.mdx +++ b/docs/maintenance/Dependency_Version_Upgrades.mdx @@ -86,15 +86,14 @@ We generally start the process of supporting a new TypeScript version just after 1. Once the TypeScript RC version is released, start merging PRs - Whenever a PR is merged, change the respective heading's emoji from 🏗 to ✅ 1. Create a PR with a title like `feat: update TypeScript to X.Y-rc` and the following changes: - - In the root `package.json`, add `|| X.Y.2-rc2` to the `dependency` on `typescript` - - In the root `package.json`, change the `devDependency` on `typescript` to `~X.Y.2-rc2` + - In the root `package.json`, add `|| X.Y.1-rc2` to the `devDependency` on `typescript` - Change the `SUPPORTED_TYPESCRIPT_VERSIONS` constant's `<` version to the next version of TypeScript - - Change the `SUPPORTED_PRERELEASE_RANGES` constant to equal `['X.Y.2-rc']` + - Change the `SUPPORTED_PRERELEASE_RANGES` constant to equal `['X.Y.1-rc']` - Rename and update `patches/typescript*` to the new TypeScript version - Run `yarn generate-lib` to update `scope-manager` 1. Once all PRs needed for the RC update PR are merged, merge the RC update PR 1. Once TypeScript releases the stable X.Y version, create and merge a PR with a title like `chore: bump TypeScript from X.YRC to X.Y` and the following changes: - - In the root `package.json`, remove `|| X.Y.2-rc2` from the `dependency` on `typescript`, and bump its `<` version to the next version of TypeScript + - In the root `package.json`, remove `|| X.Y.1-rc2` from the `dependency` on `typescript`, and bump its `<` version to the next version of TypeScript - In the root `package.json`, change the `devDependency` on `typescript` to `~X.Y.3` - Rename and update `patches/typescript*` to the new TypeScript version - Any other changes made necessary due to changes in TypeScript between the RC version and stable version diff --git a/package.json b/package.json index f3ea48751da6..a7a6fe0a421f 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "ts-node": "10.7.0", "tslint": "^6.1.3", "tsx": "^3.12.7", - "typescript": ">=4.3.5 <5.4.0" + "typescript": ">=4.3.5 <5.4.0 || 5.3.1-rc" }, "resolutions": { "@jest/create-cache-key-function": "^29", diff --git a/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts b/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts index 9a9918a44e48..2fb05c06b5fa 100644 --- a/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts +++ b/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts @@ -6,13 +6,13 @@ import type { ParseSettings } from './index'; * This needs to be kept in sync with /docs/users/Versioning.mdx * in the typescript-eslint monorepo */ -const SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.3.5 <5.3.0'; +const SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.3.5 <5.4.0'; /* * The semver package will ignore prerelease ranges, and we don't want to explicitly document every one * List them all separately here, so we can automatically create the full string */ -const SUPPORTED_PRERELEASE_RANGES: string[] = []; +const SUPPORTED_PRERELEASE_RANGES: string[] = ['5.3.1-rc']; const ACTIVE_TYPESCRIPT_VERSION = ts.version; const isRunningSupportedTypeScriptVersion = semver.satisfies( ACTIVE_TYPESCRIPT_VERSION, From 0feee239dcb16c33a0777c3e1c3d4c3fd9e6ba1d Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Tue, 14 Nov 2023 09:43:29 -0500 Subject: [PATCH 2/7] Add 5.3.0-beta || --- package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a7a6fe0a421f..6c4eec47788a 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "ts-node": "10.7.0", "tslint": "^6.1.3", "tsx": "^3.12.7", - "typescript": ">=4.3.5 <5.4.0 || 5.3.1-rc" + "typescript": ">=4.3.5 <5.4.0 || 5.3.0-beta || 5.3.1-rc" }, "resolutions": { "@jest/create-cache-key-function": "^29", diff --git a/yarn.lock b/yarn.lock index 9d4aafdc1b13..190efe41ee3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6112,7 +6112,7 @@ __metadata: ts-node: 10.7.0 tslint: ^6.1.3 tsx: ^3.12.7 - typescript: ">=4.3.5 <5.4.0" + typescript: ">=4.3.5 <5.4.0 || 5.3.1-rc" languageName: unknown linkType: soft From 7e019ba5fe3282d3bdebba66145d296d63ced945 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Tue, 14 Nov 2023 09:51:17 -0500 Subject: [PATCH 3/7] yarn.lock too --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 190efe41ee3a..3e48ca3a5e7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6112,7 +6112,7 @@ __metadata: ts-node: 10.7.0 tslint: ^6.1.3 tsx: ^3.12.7 - typescript: ">=4.3.5 <5.4.0 || 5.3.1-rc" + typescript: ">=4.3.5 <5.4.0 || 5.3.0-beta || 5.3.1-rc" languageName: unknown linkType: soft From f29202fe7a3f2b8d6935767acee637a48be10c8f Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Tue, 14 Nov 2023 21:24:18 -0500 Subject: [PATCH 4/7] Revert "Went back to 5.3.0-beta" This reverts commit a2bef1d039efd7774666d08245a821aa22682cd2. --- ... typescript-npm-5.3.1-rc-6c4278ffd3.patch} | 6 ++--- package.json | 2 +- yarn.lock | 24 +++++++++---------- 3 files changed, 16 insertions(+), 16 deletions(-) rename .yarn/patches/{typescript-npm-5.3.0-beta-33b1e90865.patch => typescript-npm-5.3.1-rc-6c4278ffd3.patch} (96%) diff --git a/.yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch b/.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch similarity index 96% rename from .yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch rename to .yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch index f4c3ff9cb1d0..fb3879286f14 100644 --- a/.yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch +++ b/.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch @@ -1,5 +1,5 @@ diff --git a/lib/typescript.d.ts b/lib/typescript.d.ts -index d785077fd9e4eb5959c0badb857358fad09d4d3f..54f71344b098e8d46acd8dd77638c60d505bb996 100644 +index 5ee1d5258cb019bddb259c7d31b1ae0156a98f0c..fc5f4d2a757a9fef92b2135148c22bb0cc81b2c1 100644 --- a/lib/typescript.d.ts +++ b/lib/typescript.d.ts @@ -4491,8 +4491,8 @@ declare namespace ts { @@ -54,7 +54,7 @@ index d785077fd9e4eb5959c0badb857358fad09d4d3f..54f71344b098e8d46acd8dd77638c60d } interface ConstructorTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer { readonly kind: SyntaxKind.ConstructorType; -@@ -8978,7 +8992,13 @@ declare namespace ts { +@@ -8991,7 +9005,13 @@ declare namespace ts { function symbolName(symbol: Symbol): string; function getNameOfJSDocTypedef(declaration: JSDocTypedefTag): Identifier | PrivateIdentifier | undefined; function getNameOfDeclaration(declaration: Declaration | Expression | undefined): DeclarationName | undefined; @@ -68,7 +68,7 @@ index d785077fd9e4eb5959c0badb857358fad09d4d3f..54f71344b098e8d46acd8dd77638c60d function getModifiers(node: HasModifiers): readonly Modifier[] | undefined; /** * Gets the JSDoc parameter tags for the node if present. -@@ -9508,7 +9528,13 @@ declare namespace ts { +@@ -9521,7 +9541,13 @@ declare namespace ts { function isModuleName(node: Node): node is ModuleName; function isBinaryOperatorToken(node: Node): node is BinaryOperatorToken; function setTextRange(range: T, location: TextRange | undefined): T; diff --git a/package.json b/package.json index 6c4eec47788a..b70d1c1febff 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "pretty-format": "^29", "react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch", "tsx": "^3.12.7", - "typescript": "patch:typescript@npm%3A5.3.0-beta#./.yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch" + "typescript": "patch:typescript@npm%3A5.3.1-rc#./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch" }, "packageManager": "yarn@3.6.4" } diff --git a/yarn.lock b/yarn.lock index 3e48ca3a5e7e..14d1c7fc8765 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20146,33 +20146,33 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.3.0-beta": - version: 5.3.0-beta - resolution: "typescript@npm:5.3.0-beta" +"typescript@npm:5.3.1-rc": + version: 5.3.1-rc + resolution: "typescript@npm:5.3.1-rc" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 12c5b05df8be536c3f5789323ca2e2f21ab6b7571bd21407b152c080be1dc8628c3cd9fb5fa342a304a266f5ad22827f3a27b7961da1600d27890be93f3e2d73 + checksum: a144fdc3edea2230f947716f9983d5d1c4d0d2a3a4007121d69b70e92b28aef65f7974fe11a10ad91b836e9c6522888e204952904b804cd85af6bf5689f36705 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.3.0-beta#./.yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch::locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A.": - version: 5.3.0-beta - resolution: "typescript@patch:typescript@npm%3A5.3.0-beta#./.yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch::version=5.3.0-beta&hash=aba397&locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A." +"typescript@patch:typescript@npm%3A5.3.1-rc#./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch::locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A.": + version: 5.3.1-rc + resolution: "typescript@patch:typescript@npm%3A5.3.1-rc#./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch::version=5.3.1-rc&hash=7df256&locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A." bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 85a8cc0ce7b9d4243db899dbf77632d63cf32818cfc076f27e929f1b89c062c2a94f5fa2f0a72e9fc315164532aac1580c9cad5b453f4a4aed464557593c8168 + checksum: 2ed8bccd7f16441a04e25d252315b0280b4ba4de8ad7b2a9a8f0c8ad0eb01c4238628ba27e1f83f927b8ee56c447fc80286f9e5c30395c5ba5708ffb069f1f2f languageName: node linkType: hard -"typescript@patch:typescript@patch%3Atypescript@npm%253A5.3.0-beta%23./.yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch%3A%3Alocator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin": - version: 5.3.0-beta - resolution: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.3.0-beta%23./.yarn/patches/typescript-npm-5.3.0-beta-33b1e90865.patch%3A%3Aversion=5.3.0-beta&hash=aba397&locator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin::version=5.3.0-beta&hash=29ae49" +"typescript@patch:typescript@patch%3Atypescript@npm%253A5.3.1-rc%23./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch%3A%3Alocator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin": + version: 5.3.1-rc + resolution: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.3.1-rc%23./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch%3A%3Aversion=5.3.1-rc&hash=7df256&locator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin::version=5.3.1-rc&hash=29ae49" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: d1ed47d2a7f35e4692c439bca41f0622be732f33927e59afe4af9c6640219a2f1cc7c4622852787a96c5300f2b88fb06bb46b5125ae8db2c080b0fad2f12ae98 + checksum: 2ed8bccd7f16441a04e25d252315b0280b4ba4de8ad7b2a9a8f0c8ad0eb01c4238628ba27e1f83f927b8ee56c447fc80286f9e5c30395c5ba5708ffb069f1f2f languageName: node linkType: hard From 19103fe38ba68803aa4a75cab66153c004cd6162 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Fri, 17 Nov 2023 13:22:24 -0500 Subject: [PATCH 5/7] Use 5.4.0-dev.20231117 --- ...pt-npm-5.4.0-dev.20231117-78a04a34c5.patch | 84 +++++++++++++++++++ package.json | 4 +- yarn.lock | 26 +++--- 3 files changed, 99 insertions(+), 15 deletions(-) create mode 100644 .yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch diff --git a/.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch b/.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch new file mode 100644 index 000000000000..311b09c310c3 --- /dev/null +++ b/.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch @@ -0,0 +1,84 @@ +diff --git a/lib/typescript.d.ts b/lib/typescript.d.ts +index 7135bb786332478763097e4fa2274ac0222ecbb2..446baab7b0d29f1e88842f97f58d343b816c8df0 100644 +--- a/lib/typescript.d.ts ++++ b/lib/typescript.d.ts +@@ -4493,8 +4493,8 @@ declare namespace ts { + JSDocFunctionType = 324, + JSDocVariadicType = 325, + JSDocNamepathType = 326, ++ /** @deprecated This was only added in 4.7 */ + JSDoc = 327, +- /** @deprecated Use SyntaxKind.JSDoc */ + JSDocComment = 327, + JSDocText = 328, + JSDocTypeLiteral = 329, +@@ -5068,6 +5068,8 @@ declare namespace ts { + readonly name: PropertyName; + readonly questionToken?: QuestionToken; + readonly type?: TypeNode; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly initializer?: Expression | undefined; + } + interface PropertyDeclaration extends ClassElement, JSDocContainer { + readonly kind: SyntaxKind.PropertyDeclaration; +@@ -5093,6 +5095,10 @@ declare namespace ts { + readonly parent: ObjectLiteralExpression; + readonly name: PropertyName; + readonly initializer: Expression; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly questionToken?: QuestionToken | undefined; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly exclamationToken?: ExclamationToken | undefined; + } + interface ShorthandPropertyAssignment extends ObjectLiteralElement, JSDocContainer { + readonly kind: SyntaxKind.ShorthandPropertyAssignment; +@@ -5100,6 +5106,12 @@ declare namespace ts { + readonly name: Identifier; + readonly equalsToken?: EqualsToken; + readonly objectAssignmentInitializer?: Expression; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly modifiers?: NodeArray | undefined; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly questionToken?: QuestionToken | undefined; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly exclamationToken?: ExclamationToken | undefined; + } + interface SpreadAssignment extends ObjectLiteralElement, JSDocContainer { + readonly kind: SyntaxKind.SpreadAssignment; +@@ -5224,6 +5236,8 @@ declare namespace ts { + } + interface FunctionTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer { + readonly kind: SyntaxKind.FunctionType; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly modifiers?: NodeArray | undefined; + } + interface ConstructorTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer { + readonly kind: SyntaxKind.ConstructorType; +@@ -8995,7 +9009,13 @@ declare namespace ts { + function symbolName(symbol: Symbol): string; + function getNameOfJSDocTypedef(declaration: JSDocTypedefTag): Identifier | PrivateIdentifier | undefined; + function getNameOfDeclaration(declaration: Declaration | Expression | undefined): DeclarationName | undefined; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getDecorators from `@typescript-eslint/type-utils`. ++ */ + function getDecorators(node: HasDecorators): readonly Decorator[] | undefined; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getModifiers from `@typescript-eslint/type-utils`. ++ */ + function getModifiers(node: HasModifiers): readonly Modifier[] | undefined; + /** + * Gets the JSDoc parameter tags for the node if present. +@@ -9525,7 +9545,13 @@ declare namespace ts { + function isModuleName(node: Node): node is ModuleName; + function isBinaryOperatorToken(node: Node): node is BinaryOperatorToken; + function setTextRange(range: T, location: TextRange | undefined): T; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getModifiers from `@typescript-eslint/type-utils`. ++ */ + function canHaveModifiers(node: Node): node is HasModifiers; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getDecorators from `@typescript-eslint/type-utils`. ++ */ + function canHaveDecorators(node: Node): node is HasDecorators; + /** + * Invokes a callback for each child of the given node. The 'cbNode' callback is invoked for all child nodes diff --git a/package.json b/package.json index b70d1c1febff..6a1f08a4cd4f 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "ts-node": "10.7.0", "tslint": "^6.1.3", "tsx": "^3.12.7", - "typescript": ">=4.3.5 <5.4.0 || 5.3.0-beta || 5.3.1-rc" + "typescript": ">=4.3.5 <5.4.0 || 5.3.0-beta || 5.3.1-rc || 5.4.0-dev.20231117" }, "resolutions": { "@jest/create-cache-key-function": "^29", @@ -141,7 +141,7 @@ "pretty-format": "^29", "react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch", "tsx": "^3.12.7", - "typescript": "patch:typescript@npm%3A5.3.1-rc#./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch" + "typescript": "patch:typescript@npm%3A5.4.0-dev.20231117#./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch" }, "packageManager": "yarn@3.6.4" } diff --git a/yarn.lock b/yarn.lock index 14d1c7fc8765..b91d57004f46 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6112,7 +6112,7 @@ __metadata: ts-node: 10.7.0 tslint: ^6.1.3 tsx: ^3.12.7 - typescript: ">=4.3.5 <5.4.0 || 5.3.0-beta || 5.3.1-rc" + typescript: ">=4.3.5 <5.4.0 || 5.3.0-beta || 5.3.1-rc || 5.4.0-dev.20231117" languageName: unknown linkType: soft @@ -20146,33 +20146,33 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.3.1-rc": - version: 5.3.1-rc - resolution: "typescript@npm:5.3.1-rc" +"typescript@npm:5.4.0-dev.20231117": + version: 5.4.0-dev.20231117 + resolution: "typescript@npm:5.4.0-dev.20231117" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: a144fdc3edea2230f947716f9983d5d1c4d0d2a3a4007121d69b70e92b28aef65f7974fe11a10ad91b836e9c6522888e204952904b804cd85af6bf5689f36705 + checksum: c538a15c3c528275591f40a0d3db191be6410d0da91fa24bd78376b0b674721382ae80f30f1625f565d41c755fab4659e8c6af5072a695401ff6cfb849b3e06e languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.3.1-rc#./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch::locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A.": - version: 5.3.1-rc - resolution: "typescript@patch:typescript@npm%3A5.3.1-rc#./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch::version=5.3.1-rc&hash=7df256&locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A." +"typescript@patch:typescript@npm%3A5.4.0-dev.20231117#./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch::locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A.": + version: 5.4.0-dev.20231117 + resolution: "typescript@patch:typescript@npm%3A5.4.0-dev.20231117#./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch::version=5.4.0-dev.20231117&hash=f57760&locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A." bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 2ed8bccd7f16441a04e25d252315b0280b4ba4de8ad7b2a9a8f0c8ad0eb01c4238628ba27e1f83f927b8ee56c447fc80286f9e5c30395c5ba5708ffb069f1f2f + checksum: eb20effe30527f1a08981f985cd002519d52a5314cd4feca5e145987bea8ac09e023b95c5d82fddb12bedc8401255209ec6e076a48aab6519dbcafce60f5f219 languageName: node linkType: hard -"typescript@patch:typescript@patch%3Atypescript@npm%253A5.3.1-rc%23./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch%3A%3Alocator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin": - version: 5.3.1-rc - resolution: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.3.1-rc%23./.yarn/patches/typescript-npm-5.3.1-rc-6c4278ffd3.patch%3A%3Aversion=5.3.1-rc&hash=7df256&locator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin::version=5.3.1-rc&hash=29ae49" +"typescript@patch:typescript@patch%3Atypescript@npm%253A5.4.0-dev.20231117%23./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch%3A%3Alocator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin": + version: 5.4.0-dev.20231117 + resolution: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.4.0-dev.20231117%23./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch%3A%3Aversion=5.4.0-dev.20231117&hash=f57760&locator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin::version=5.4.0-dev.20231117&hash=29ae49" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 2ed8bccd7f16441a04e25d252315b0280b4ba4de8ad7b2a9a8f0c8ad0eb01c4238628ba27e1f83f927b8ee56c447fc80286f9e5c30395c5ba5708ffb069f1f2f + checksum: eb20effe30527f1a08981f985cd002519d52a5314cd4feca5e145987bea8ac09e023b95c5d82fddb12bedc8401255209ec6e076a48aab6519dbcafce60f5f219 languageName: node linkType: hard From 2220bb8c2ed699d70eaed2ffdc4965a1f1cd0e1f Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Sun, 19 Nov 2023 14:53:55 +0100 Subject: [PATCH 6/7] Revert warnAboutTSVersion range --- .../typescript-estree/src/parseSettings/warnAboutTSVersion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts b/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts index 2fb05c06b5fa..b7d54b42e367 100644 --- a/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts +++ b/packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts @@ -6,7 +6,7 @@ import type { ParseSettings } from './index'; * This needs to be kept in sync with /docs/users/Versioning.mdx * in the typescript-eslint monorepo */ -const SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.3.5 <5.4.0'; +const SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.3.5 <5.3.0'; /* * The semver package will ignore prerelease ranges, and we don't want to explicitly document every one From 75eefcfe38e188dc0ff23347d3f39fd1806690b2 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Sun, 19 Nov 2023 15:31:02 +0100 Subject: [PATCH 7/7] Aha, checksum now updates --- yarn.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index 22942cfdb98a..6a44b234e1a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20185,11 +20185,11 @@ __metadata: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.4.0-dev.20231117%23./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch%3A%3Alocator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin": version: 5.4.0-dev.20231117 - resolution: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.4.0-dev.20231117%23./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch%3A%3Aversion=5.4.0-dev.20231117&hash=f57760&locator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin::version=5.4.0-dev.20231117&hash=29ae49" + resolution: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.4.0-dev.20231117%23./.yarn/patches/typescript-npm-5.4.0-dev.20231117-78a04a34c5.patch%3A%3Aversion=5.4.0-dev.20231117&hash=f57760&locator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin::version=5.4.0-dev.20231117&hash=e012d7" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: eb20effe30527f1a08981f985cd002519d52a5314cd4feca5e145987bea8ac09e023b95c5d82fddb12bedc8401255209ec6e076a48aab6519dbcafce60f5f219 + checksum: 923f407da16df26c7810244c3455cc88e1d9db20067fbac7f988f484fea6239f89da9d41ae5ebbf7e0b86e096c4d809cb4b0732c6d40a634cb0fdbefd210bc18 languageName: node linkType: hard