From f7dc8c569fc832ab1ee6c0809582966da458f0a0 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sat, 14 Oct 2023 23:39:58 +0800 Subject: [PATCH] chore: upgrade typescript version --- package.json | 2 +- pnpm-lock.yaml | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index a42d256..28d790b 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,6 @@ "socket.io": "^4.7.2", "socket.io-client": "^4.7.2", "ts-node": "^10.9.1", - "typescript": "^4.9.5", "uuid": "^9.0.0", "vite-express": "^0.10.0", "yup": "^1.2.0", @@ -93,6 +92,7 @@ "prisma": "^5.2.0", "tailwindcss": "^3.3.3", "tar": "^6.1.15", + "typescript": "^5.2.2", "vite": "^4.4.9" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cbfd22a..369fe0d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -120,7 +120,7 @@ dependencies: version: 7.0.1 puppeteer: specifier: ^21.3.8 - version: 21.3.8(typescript@4.9.5) + version: 21.3.8(typescript@5.2.2) react: specifier: ^18.2.0 version: 18.2.0 @@ -144,10 +144,7 @@ dependencies: version: 4.7.2 ts-node: specifier: ^10.9.1 - version: 10.9.1(@types/node@18.17.12)(typescript@4.9.5) - typescript: - specifier: ^4.9.5 - version: 4.9.5 + version: 10.9.1(@types/node@18.17.12)(typescript@5.2.2) uuid: specifier: ^9.0.0 version: 9.0.0 @@ -234,6 +231,9 @@ devDependencies: tar: specifier: ^6.1.15 version: 6.1.15 + typescript: + specifier: ^5.2.2 + version: 5.2.2 vite: specifier: ^4.4.9 version: 4.4.9(@types/node@18.17.12) @@ -2866,7 +2866,7 @@ packages: vary: 1.1.2 dev: false - /cosmiconfig@8.3.6(typescript@4.9.5): + /cosmiconfig@8.3.6(typescript@5.2.2): resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} peerDependencies: @@ -2879,7 +2879,7 @@ packages: js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 - typescript: 4.9.5 + typescript: 5.2.2 dev: false /create-require@1.1.1: @@ -4906,7 +4906,7 @@ packages: dependencies: lilconfig: 2.1.0 postcss: 8.4.29 - ts-node: 10.9.1(@types/node@18.17.12)(typescript@4.9.5) + ts-node: 10.9.1(@types/node@18.17.12)(typescript@5.2.2) yaml: 2.3.2 dev: true @@ -5051,13 +5051,13 @@ packages: - utf-8-validate dev: false - /puppeteer@21.3.8(typescript@4.9.5): + /puppeteer@21.3.8(typescript@5.2.2): resolution: {integrity: sha512-4OrInVIAtDgcznENUV4Du4gYSZhRmbCkckvOoPstXrUH4JsQ3atSegY+9f/tOKCDB2qh7sXaszDcFEn+RymY0g==} engines: {node: '>=16.3.0'} requiresBuild: true dependencies: '@puppeteer/browsers': 1.7.1 - cosmiconfig: 8.3.6(typescript@4.9.5) + cosmiconfig: 8.3.6(typescript@5.2.2) puppeteer-core: 21.3.8 transitivePeerDependencies: - bufferutil @@ -6536,7 +6536,7 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /ts-node@10.9.1(@types/node@18.17.12)(typescript@4.9.5): + /ts-node@10.9.1(@types/node@18.17.12)(typescript@5.2.2): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -6562,7 +6562,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.9.5 + typescript: 5.2.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 @@ -6625,9 +6625,9 @@ packages: is-typed-array: 1.1.12 dev: false - /typescript@4.9.5: - resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} - engines: {node: '>=4.2.0'} + /typescript@5.2.2: + resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + engines: {node: '>=14.17'} hasBin: true /ua-parser-js@0.7.35: