From 7141588eef57536fa8127a06a2a11097bb0a8ec0 Mon Sep 17 00:00:00 2001 From: chimurai <655241+chimurai@users.noreply.github.com> Date: Fri, 21 Apr 2023 22:42:27 +0200 Subject: [PATCH] chore(deps): update to typescript v5 (#902) --- package.json | 2 +- tsconfig.json | 4 ++-- yarn.lock | 7 ++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a22fecee..c831260d 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "prettier": "2.8.4", "supertest": "6.3.3", "ts-jest": "29.0.5", - "typescript": "4.9.5", + "typescript": "5.0.4", "ws": "8.12.1" }, "dependencies": { diff --git a/tsconfig.json b/tsconfig.json index 49e23b82..51207841 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,10 +2,10 @@ "compilerOptions": { "rootDir": "./src", "outDir": "./dist", - "lib": ["es2019", "es2020.bigint", "es2020.string", "es2020.symbol.wellknown"], + "lib": ["es2021"], "module": "commonjs", "moduleResolution": "node", - "target": "es2019", + "target": "es2021", "incremental": true, "declaration": true, "strict": true, diff --git a/yarn.lock b/yarn.lock index c1cee49e..b8819e2d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5529,7 +5529,12 @@ typed-error@^3.0.2: resolved "https://registry.yarnpkg.com/typed-error/-/typed-error-3.2.1.tgz#08529590f9704a4491331568a03aa4456b7a65e9" integrity sha512-XlUv4JMrT2dpN0c4Vm3lOm88ga21Z6pNJUmjejRz/mkh6sdBtkMwyRf4fF+yhRGZgfgWam31Lkxu11GINKiBTQ== -typescript@4.9.5, typescript@^4.6.2, typescript@^4.6.4: +typescript@5.0.4: + version "5.0.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" + integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== + +typescript@^4.6.2, typescript@^4.6.4: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==