From 3239ddaeedd9f01a4fa4bea183b5377e0d1c4596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Tue, 10 Dec 2024 11:05:33 +0100 Subject: [PATCH] try patching dtslint --- ...escript-versions-npm-0.0.112-f668f50e03.patch | 16 ++++++++++++++++ package.json | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .yarn/patches/@definitelytyped-typescript-versions-npm-0.0.112-f668f50e03.patch diff --git a/.yarn/patches/@definitelytyped-typescript-versions-npm-0.0.112-f668f50e03.patch b/.yarn/patches/@definitelytyped-typescript-versions-npm-0.0.112-f668f50e03.patch new file mode 100644 index 0000000000..4e828d0aa5 --- /dev/null +++ b/.yarn/patches/@definitelytyped-typescript-versions-npm-0.0.112-f668f50e03.patch @@ -0,0 +1,16 @@ +diff --git a/dist/index.js b/dist/index.js +index 0a9abde5fbe918397794db0c0962129cf6bec3fa..26fe2b048b7fa898282d2d9d0dbd1719384b1f60 100644 +--- a/dist/index.js ++++ b/dist/index.js +@@ -8,9 +8,9 @@ const assert_1 = __importDefault(require("assert")); + var TypeScriptVersion; + (function (TypeScriptVersion) { + /** Add to this list when a version actually ships. */ +- TypeScriptVersion.shipped = ["3.9", "4.0", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6"]; ++ TypeScriptVersion.shipped = ["3.9", "4.0", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "5.0", "5.1", "5.2", "5.3", "5.4", "5.5", "5.6", "5.7"]; + /** Add to this list when a version is available as typescript@next */ +- TypeScriptVersion.supported = [...TypeScriptVersion.shipped, "4.7"]; ++ TypeScriptVersion.supported = [...TypeScriptVersion.shipped, "5.8"]; + /** Add to this list when it will no longer be supported on Definitely Typed */ + TypeScriptVersion.unsupported = [ + "2.0", diff --git a/package.json b/package.json index b4448c8f22..1335edbd6e 100644 --- a/package.json +++ b/package.json @@ -240,6 +240,7 @@ }, "packageManager": "yarn@3.2.3", "resolutions": { - "@definitelytyped/dtslint@0.0.112": "patch:@definitelytyped/dtslint@npm%3A0.0.112#./.yarn/patches/@definitelytyped-dtslint-npm-0.0.112-1e6b842976.patch" + "@definitelytyped/dtslint@0.0.112": "patch:@definitelytyped/dtslint@npm%3A0.0.112#./.yarn/patches/@definitelytyped-dtslint-npm-0.0.112-1e6b842976.patch", + "@definitelytyped/typescript-versions@^0.0.112": "patch:@definitelytyped/typescript-versions@npm%3A0.0.112#./.yarn/patches/@definitelytyped-typescript-versions-npm-0.0.112-f668f50e03.patch" } }