From f2e7baf242123238c2b71c9ace346dbde1000a78 Mon Sep 17 00:00:00 2001 From: Eric Promislow Date: Tue, 2 Jan 2024 14:17:07 -0800 Subject: [PATCH] Stop typescipt upgrade at 5.1.6 to prevent this warning when linting: WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree. You may find that it works just fine, or you may not. SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.2.0 YOUR TYPESCRIPT VERSION: 5.2.2 - 5.1.6 is the last release before 5.2.0 Signed-off-by: Eric Promislow --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d9eba020f89..c184ff187de 100644 --- a/package.json +++ b/package.json @@ -176,7 +176,7 @@ "ts-jest": "29.1.0", "ts-node": "10.9.1", "tsconfig-paths": "4.2.0", - "typescript": "5.3.3", + "typescript": "5.1.6", "vue-eslint-parser": "9.3.2", "vue-jest": "3.0.7", "vue-template-compiler": "2.7.14", diff --git a/yarn.lock b/yarn.lock index f807c853c50..58bc63e641b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12887,10 +12887,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@5.3.3: - version "5.3.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" - integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== +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== typescript@^4.0.2: version "4.9.5"