From 6ffa48d1cd7d85189f0dbc1e37fd0efafa5c221c Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 24 May 2023 15:42:50 +0200 Subject: [PATCH] chore: upgrade TypeScript to v5 (#14155) --- e2e/Utils.ts | 2 +- .../testFailingJasmine.test.ts.snap | 4 +- examples/angular/package.json | 2 +- examples/expect-extend/package.json | 2 +- examples/typescript/package.json | 2 +- package.json | 6 +- packages/expect-utils/package.json | 2 +- packages/expect/package.json | 2 +- packages/jest-cli/package.json | 2 +- packages/jest-config/package.json | 2 +- packages/jest-expect/package.json | 2 +- .../jest-jasmine2/src/jasmineAsyncInstall.ts | 1 - packages/jest-mock/package.json | 2 +- packages/jest-reporters/package.json | 2 +- packages/jest-resolve/package.json | 2 +- packages/jest-runner/package.json | 2 +- packages/jest-snapshot/package.json | 2 +- packages/jest-types/package.json | 2 +- packages/jest-worker/package.json | 2 +- packages/jest/package.json | 2 +- tsconfig.json | 5 +- website/package.json | 2 +- yarn.lock | 136 ++++++++---------- 23 files changed, 85 insertions(+), 103 deletions(-) diff --git a/e2e/Utils.ts b/e2e/Utils.ts index a51b158cc837..b15fd4e0eeea 100644 --- a/e2e/Utils.ts +++ b/e2e/Utils.ts @@ -91,7 +91,7 @@ export const linkJestPackage = (packageName: string, cwd: string) => { }; export const makeTemplate = - (str: string): ((values?: Array) => string) => + (str: string): ((values?: Array) => string) => (values = []) => str.replace(/\$(\d+)/g, (_match, number) => { if (!Array.isArray(values)) { diff --git a/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap b/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap index 5f617e4f859a..976eac00b30a 100644 --- a/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap @@ -46,7 +46,7 @@ FAIL __tests__/worksWithConcurrentMode.test.js 15 | }); 16 | - at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:176:11) + at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:175:11) at Suite.failing (__tests__/worksWithConcurrentMode.test.js:13:17) at Object.describe (__tests__/worksWithConcurrentMode.test.js:8:1) @@ -80,7 +80,7 @@ FAIL __tests__/worksWithConcurrentOnlyMode.test.js 15 | }); 16 | - at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:176:11) + at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:175:11) at Suite.failing (__tests__/worksWithConcurrentOnlyMode.test.js:13:22) at Object.describe (__tests__/worksWithConcurrentOnlyMode.test.js:8:1) diff --git a/examples/angular/package.json b/examples/angular/package.json index 5c9fa12e7bfd..382ed179a9f4 100644 --- a/examples/angular/package.json +++ b/examples/angular/package.json @@ -15,7 +15,7 @@ "core-js": "^3.2.1", "rxjs": "^7.5.5", "tslib": "^2.0.0", - "typescript": "^4.8.2", + "typescript": "^5.0.4", "zone.js": "~0.11.3" }, "devDependencies": { diff --git a/examples/expect-extend/package.json b/examples/expect-extend/package.json index 7101e8f6ab28..f07be23d89d5 100644 --- a/examples/expect-extend/package.json +++ b/examples/expect-extend/package.json @@ -10,7 +10,7 @@ "babel-jest": "workspace:^", "expect": "workspace:^", "jest": "workspace:^", - "typescript": "^4.8.2" + "typescript": "^5.0.4" }, "scripts": { "test": "jest" diff --git a/examples/typescript/package.json b/examples/typescript/package.json index 9dbc0dac8306..c1d873ee9ed9 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -5,7 +5,7 @@ "dependencies": { "react": "18.2.0", "react-dom": "^18.2.0", - "typescript": "^4.8.2" + "typescript": "^5.0.4" }, "devDependencies": { "@babel/core": "^7.11.6", diff --git a/package.json b/package.json index 48ee1ac60243..4318e8a1efe8 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "@jest/globals": "workspace:^", "@jest/test-utils": "workspace:^", "@lerna-lite/cli": "^1.11.3", - "@microsoft/api-extractor": "^7.33.4", + "@microsoft/api-extractor": "^7.35.0", "@tsconfig/node14": "^1.0.3", - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "@types/babel__core": "^7.1.14", "@types/babel__generator": "^7.0.0", "@types/babel__template": "^7.0.2", @@ -80,7 +80,7 @@ "strip-json-comments": "^3.1.1", "tempy": "^1.0.0", "ts-node": "^10.5.0", - "typescript": "^4.8.2", + "typescript": "^5.0.4", "which": "^3.0.0" }, "scripts": { diff --git a/packages/expect-utils/package.json b/packages/expect-utils/package.json index e111dc932c3c..f1b5451c9fa8 100644 --- a/packages/expect-utils/package.json +++ b/packages/expect-utils/package.json @@ -20,7 +20,7 @@ "jest-get-type": "workspace:^" }, "devDependencies": { - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "immutable": "^4.0.0", "jest-matcher-utils": "workspace:^", "tsd-lite": "^0.7.0" diff --git a/packages/expect/package.json b/packages/expect/package.json index 0984a23010d7..f197660be2af 100644 --- a/packages/expect/package.json +++ b/packages/expect/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@fast-check/jest": "^1.3.0", "@jest/test-utils": "workspace:^", - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "chalk": "^4.0.0", "immutable": "^4.0.0", "tsd-lite": "^0.7.0" diff --git a/packages/jest-cli/package.json b/packages/jest-cli/package.json index 45700ebfbb1d..0c92bf4cda04 100644 --- a/packages/jest-cli/package.json +++ b/packages/jest-cli/package.json @@ -27,7 +27,7 @@ "yargs": "^17.3.1" }, "devDependencies": { - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "@types/exit": "^0.1.30", "@types/graceful-fs": "^4.1.3", "@types/prompts": "^2.0.1", diff --git a/packages/jest-config/package.json b/packages/jest-config/package.json index 19f9fc247d17..a1610a489987 100644 --- a/packages/jest-config/package.json +++ b/packages/jest-config/package.json @@ -59,7 +59,7 @@ "@types/parse-json": "^4.0.0", "semver": "^7.3.5", "ts-node": "^10.5.0", - "typescript": "^4.8.2" + "typescript": "^5.0.4" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" diff --git a/packages/jest-expect/package.json b/packages/jest-expect/package.json index 3e26088e64c5..1fd7ad011850 100644 --- a/packages/jest-expect/package.json +++ b/packages/jest-expect/package.json @@ -21,7 +21,7 @@ "jest-snapshot": "workspace:^" }, "devDependencies": { - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "tsd-lite": "^0.7.0" }, "engines": { diff --git a/packages/jest-jasmine2/src/jasmineAsyncInstall.ts b/packages/jest-jasmine2/src/jasmineAsyncInstall.ts index 08f839402259..fb775026e694 100644 --- a/packages/jest-jasmine2/src/jasmineAsyncInstall.ts +++ b/packages/jest-jasmine2/src/jasmineAsyncInstall.ts @@ -76,7 +76,6 @@ function promisifyLifeCycleFunction( // didn't return a promise. const asyncJestLifecycle = function (done: DoneFn) { const wrappedFn = isGeneratorFn(fn) ? co.wrap(fn) : fn; - // @ts-expect-error: TS thinks `wrappedFn` is a generator function const returnValue = wrappedFn.call({}, doneFnNoop); if (isPromise(returnValue)) { diff --git a/packages/jest-mock/package.json b/packages/jest-mock/package.json index a7f12e8fcf07..efb0759147d2 100644 --- a/packages/jest-mock/package.json +++ b/packages/jest-mock/package.json @@ -22,7 +22,7 @@ "jest-util": "workspace:^" }, "devDependencies": { - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "tsd-lite": "^0.7.0" }, "engines": { diff --git a/packages/jest-reporters/package.json b/packages/jest-reporters/package.json index c77d01d9ca24..64832d8c82b3 100644 --- a/packages/jest-reporters/package.json +++ b/packages/jest-reporters/package.json @@ -39,7 +39,7 @@ }, "devDependencies": { "@jest/test-utils": "workspace:^", - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "@types/exit": "^0.1.30", "@types/glob": "^7.1.1", "@types/graceful-fs": "^4.1.3", diff --git a/packages/jest-resolve/package.json b/packages/jest-resolve/package.json index c789ab432d1c..71e9fbd0e595 100644 --- a/packages/jest-resolve/package.json +++ b/packages/jest-resolve/package.json @@ -28,7 +28,7 @@ "slash": "^3.0.0" }, "devDependencies": { - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "@types/graceful-fs": "^4.1.3", "@types/pnpapi": "^0.0.2", "@types/resolve": "^1.20.2", diff --git a/packages/jest-runner/package.json b/packages/jest-runner/package.json index 2cabb46e4dd6..54547bb7f9e9 100644 --- a/packages/jest-runner/package.json +++ b/packages/jest-runner/package.json @@ -41,7 +41,7 @@ }, "devDependencies": { "@jest/test-utils": "workspace:^", - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "@types/exit": "^0.1.30", "@types/graceful-fs": "^4.1.3", "@types/source-map-support": "^0.5.0", diff --git a/packages/jest-snapshot/package.json b/packages/jest-snapshot/package.json index b5b1af95738f..45e165400afe 100644 --- a/packages/jest-snapshot/package.json +++ b/packages/jest-snapshot/package.json @@ -43,7 +43,7 @@ "@babel/preset-flow": "^7.7.2", "@babel/preset-react": "^7.12.1", "@jest/test-utils": "workspace:^", - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "@types/babel__core": "^7.1.14", "@types/graceful-fs": "^4.1.3", "@types/natural-compare": "^1.4.0", diff --git a/packages/jest-types/package.json b/packages/jest-types/package.json index 8593fe86dc5f..880c3c490971 100644 --- a/packages/jest-types/package.json +++ b/packages/jest-types/package.json @@ -28,7 +28,7 @@ "chalk": "^4.0.0" }, "devDependencies": { - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "tsd-lite": "^0.7.0" }, "publishConfig": { diff --git a/packages/jest-worker/package.json b/packages/jest-worker/package.json index 0f2d831bb22a..d4ba0503cb2d 100644 --- a/packages/jest-worker/package.json +++ b/packages/jest-worker/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@babel/core": "^7.11.6", - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "@types/merge-stream": "^1.1.2", "@types/supports-color": "^8.1.0", "get-stream": "^6.0.0", diff --git a/packages/jest/package.json b/packages/jest/package.json index 7f7c3ea287bf..5f7dd03c0612 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -19,7 +19,7 @@ "jest-cli": "workspace:^" }, "devDependencies": { - "@tsd/typescript": "^4.9.0", + "@tsd/typescript": "^5.0.4", "tsd-lite": "^0.7.0" }, "peerDependencies": { diff --git a/tsconfig.json b/tsconfig.json index 62d5dc50bd2c..eeb7c17936d0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,9 @@ "esModuleInterop": false, "isolatedModules": true, "skipLibCheck": false, - "resolveJsonModule": true + "resolveJsonModule": true, + + // TODO: remove for Jest 30 + "ignoreDeprecations": "5.0" } } diff --git a/website/package.json b/website/package.json index 49e05e09afda..cb45586b1f89 100644 --- a/website/package.json +++ b/website/package.json @@ -54,6 +54,6 @@ "graphql": "^16.3.0", "graphql-request": "^6.0.0", "js-yaml": "^4.1.0", - "typescript": "^4.8.2" + "typescript": "^5.0.4" } } diff --git a/yarn.lock b/yarn.lock index 6c4be801ff57..696d83184cd6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2772,7 +2772,7 @@ __metadata: version: 0.0.0-use.local resolution: "@jest/expect-utils@workspace:packages/expect-utils" dependencies: - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 immutable: ^4.0.0 jest-get-type: "workspace:^" jest-matcher-utils: "workspace:^" @@ -2784,7 +2784,7 @@ __metadata: version: 0.0.0-use.local resolution: "@jest/expect@workspace:packages/jest-expect" dependencies: - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 expect: "workspace:^" jest-snapshot: "workspace:^" tsd-lite: ^0.7.0 @@ -2831,9 +2831,9 @@ __metadata: "@jest/globals": "workspace:^" "@jest/test-utils": "workspace:^" "@lerna-lite/cli": ^1.11.3 - "@microsoft/api-extractor": ^7.33.4 + "@microsoft/api-extractor": ^7.35.0 "@tsconfig/node14": ^1.0.3 - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/babel__core": ^7.1.14 "@types/babel__generator": ^7.0.0 "@types/babel__template": ^7.0.2 @@ -2898,7 +2898,7 @@ __metadata: strip-json-comments: ^3.1.1 tempy: ^1.0.0 ts-node: ^10.5.0 - typescript: ^4.8.2 + typescript: ^5.0.4 which: ^3.0.0 languageName: unknown linkType: soft @@ -2914,7 +2914,7 @@ __metadata: "@jest/transform": "workspace:^" "@jest/types": "workspace:^" "@jridgewell/trace-mapping": ^0.3.18 - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/exit": ^0.1.30 "@types/glob": ^7.1.1 "@types/graceful-fs": ^4.1.3 @@ -3085,7 +3085,7 @@ __metadata: resolution: "@jest/types@workspace:packages/jest-types" dependencies: "@jest/schemas": "workspace:^" - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/istanbul-lib-coverage": ^2.0.0 "@types/istanbul-reports": ^3.0.0 "@types/node": "*" @@ -3374,36 +3374,36 @@ __metadata: languageName: node linkType: hard -"@microsoft/api-extractor-model@npm:7.26.4": - version: 7.26.4 - resolution: "@microsoft/api-extractor-model@npm:7.26.4" +"@microsoft/api-extractor-model@npm:7.27.0": + version: 7.27.0 + resolution: "@microsoft/api-extractor-model@npm:7.27.0" dependencies: "@microsoft/tsdoc": 0.14.2 "@microsoft/tsdoc-config": ~0.16.1 - "@rushstack/node-core-library": 3.55.2 - checksum: 0b27f9b248396422f3044f2472d86c111a6a4d34b4fd2c67d9995e96e5b144ec41ac35dbf2a005f144766814b824518bc42b424d93e3075d3dc1b17c2f8791d6 + "@rushstack/node-core-library": 3.59.1 + checksum: df9818e507fc156acf60dc4bb8759f42506b166b0cf8963a585a38f8f5822169084725472c9196773f0fb77bf5071bfcfacc6d7c698b7ec4a3decdf093375df3 languageName: node linkType: hard -"@microsoft/api-extractor@npm:^7.33.4": - version: 7.34.4 - resolution: "@microsoft/api-extractor@npm:7.34.4" +"@microsoft/api-extractor@npm:^7.35.0": + version: 7.35.0 + resolution: "@microsoft/api-extractor@npm:7.35.0" dependencies: - "@microsoft/api-extractor-model": 7.26.4 + "@microsoft/api-extractor-model": 7.27.0 "@microsoft/tsdoc": 0.14.2 "@microsoft/tsdoc-config": ~0.16.1 - "@rushstack/node-core-library": 3.55.2 - "@rushstack/rig-package": 0.3.18 - "@rushstack/ts-command-line": 4.13.2 + "@rushstack/node-core-library": 3.59.1 + "@rushstack/rig-package": 0.3.19 + "@rushstack/ts-command-line": 4.13.3 colors: ~1.2.1 lodash: ~4.17.15 resolve: ~1.22.1 semver: ~7.3.0 source-map: ~0.6.1 - typescript: ~4.8.4 + typescript: ~5.0.4 bin: api-extractor: bin/api-extractor - checksum: 855a04237e30f425553aab661b77bc0cbeb493510d769691d713e5bfdf02439fa7bc2076750271d154237f8c9d4451b209f30724c9ee2a2c4ea307c5db093d42 + checksum: 4ba907a23404a45dfd9c4b78864f6b956748cb0bb03a29cc113b0355791358972f71912fdab35d7dadca7ec6e00f42623a2c9504aefc149ce3f2de66913d21af languageName: node linkType: hard @@ -4057,9 +4057,9 @@ __metadata: languageName: node linkType: hard -"@rushstack/node-core-library@npm:3.55.2": - version: 3.55.2 - resolution: "@rushstack/node-core-library@npm:3.55.2" +"@rushstack/node-core-library@npm:3.59.1": + version: 3.59.1 + resolution: "@rushstack/node-core-library@npm:3.59.1" dependencies: colors: ~1.2.1 fs-extra: ~7.0.1 @@ -4073,29 +4073,29 @@ __metadata: peerDependenciesMeta: "@types/node": optional: true - checksum: b6b289315cd6a3544471f534405479b7c80f3906b7506590d5eb83a605a0a5b65861bf678f3e6c2277c8db116b8e05f8e7b6864fdc75e0f1514c9ff224b83fe6 + checksum: 2011c4ee736379f977d1b610e404f4a5771159c2b73e29d27b0b028c0141a100795d7263cae19621e5e311c516e9392d0e1aba0153c06e77929dba2776cce4c8 languageName: node linkType: hard -"@rushstack/rig-package@npm:0.3.18": - version: 0.3.18 - resolution: "@rushstack/rig-package@npm:0.3.18" +"@rushstack/rig-package@npm:0.3.19": + version: 0.3.19 + resolution: "@rushstack/rig-package@npm:0.3.19" dependencies: resolve: ~1.22.1 strip-json-comments: ~3.1.1 - checksum: 41e719fb14d99e0f79093523fede051dba2be5f53d63d5ae45c2ea1b8448e298e0303d8453be3f9ac5e8bb99e3dcf3ddbe4cc59d9be5eddb914286acbdd0a2f3 + checksum: f7af6a917325d09795b5e1207f5c5ebc92ce0a861252698064f16fa8815b6799cfb7df2b9adad08f07b9a8617211ce522f524edb55a638d30b6b4d4a2135e2d5 languageName: node linkType: hard -"@rushstack/ts-command-line@npm:4.13.2": - version: 4.13.2 - resolution: "@rushstack/ts-command-line@npm:4.13.2" +"@rushstack/ts-command-line@npm:4.13.3": + version: 4.13.3 + resolution: "@rushstack/ts-command-line@npm:4.13.3" dependencies: "@types/argparse": 1.0.38 argparse: ~1.0.9 colors: ~1.2.1 string-argv: ~0.3.1 - checksum: 3938e533e08d5cf4007a651d1aab658a7a60d6136a56414e2370b64434657a5d5a9eff442da4ddc260d5e6dc90f82428de64dbcfa1285e9ae176629f7fcd821d + checksum: bef8088712361d1051ca21027cded5358cdf73440d9ea7a7e517d868524a3e483cdac72f0fe0aa5e2ffd7a1feeddb7cff224b06f91e66c0846fdf3d126ec9248 languageName: node linkType: hard @@ -4428,10 +4428,10 @@ __metadata: languageName: node linkType: hard -"@tsd/typescript@npm:^4.9.0": - version: 4.9.5 - resolution: "@tsd/typescript@npm:4.9.5" - checksum: f9f01ecf2094e0ac83e56cc57430bdf81da82aa20424280002b44ea29cdc171388a9777262257f550800bf76567774521728e1ef6e191633ae6f723ee64d396a +"@tsd/typescript@npm:^5.0.4": + version: 5.0.4 + resolution: "@tsd/typescript@npm:5.0.4" + checksum: 5e4fd1ed623f35681fb7b0ede97ec0102701412f18b8f045f30dce3e3f35731aca4975afa4551818461e69b4350f78052ddace5617b1d4cb339a5c66fbad624e languageName: node linkType: hard @@ -5761,7 +5761,7 @@ __metadata: jest-zone-patch: "*" rxjs: ^7.5.5 tslib: ^2.0.0 - typescript: ^4.8.2 + typescript: ^5.0.4 zone.js: ~0.11.3 languageName: unknown linkType: soft @@ -9467,7 +9467,7 @@ __metadata: babel-jest: "workspace:^" expect: "workspace:^" jest: "workspace:^" - typescript: ^4.8.2 + typescript: ^5.0.4 languageName: unknown linkType: soft @@ -9602,7 +9602,7 @@ __metadata: jest-environment-jsdom: "workspace:^" react: 18.2.0 react-dom: ^18.2.0 - typescript: ^4.8.2 + typescript: ^5.0.4 languageName: unknown linkType: soft @@ -9667,7 +9667,7 @@ __metadata: "@fast-check/jest": ^1.3.0 "@jest/expect-utils": "workspace:^" "@jest/test-utils": "workspace:^" - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 chalk: ^4.0.0 immutable: ^4.0.0 jest-get-type: "workspace:^" @@ -12419,7 +12419,7 @@ __metadata: "@jest/core": "workspace:^" "@jest/test-result": "workspace:^" "@jest/types": "workspace:^" - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/exit": ^0.1.30 "@types/graceful-fs": ^4.1.3 "@types/prompts": ^2.0.1 @@ -12476,7 +12476,7 @@ __metadata: slash: ^3.0.0 strip-json-comments: ^3.1.1 ts-node: ^10.5.0 - typescript: ^4.8.2 + typescript: ^5.0.4 peerDependencies: "@types/node": "*" ts-node: ">=9.0.0" @@ -12680,7 +12680,7 @@ __metadata: resolution: "jest-mock@workspace:packages/jest-mock" dependencies: "@jest/types": "workspace:^" - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/node": "*" jest-util: "workspace:^" tsd-lite: ^0.7.0 @@ -12763,7 +12763,7 @@ __metadata: version: 0.0.0-use.local resolution: "jest-resolve@workspace:packages/jest-resolve" dependencies: - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/graceful-fs": ^4.1.3 "@types/pnpapi": ^0.0.2 "@types/resolve": ^1.20.2 @@ -12804,7 +12804,7 @@ __metadata: "@jest/test-utils": "workspace:^" "@jest/transform": "workspace:^" "@jest/types": "workspace:^" - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/exit": ^0.1.30 "@types/graceful-fs": ^4.1.3 "@types/node": "*" @@ -12904,7 +12904,7 @@ __metadata: "@jest/test-utils": "workspace:^" "@jest/transform": "workspace:^" "@jest/types": "workspace:^" - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/babel__core": ^7.1.14 "@types/graceful-fs": ^4.1.3 "@types/natural-compare": ^1.4.0 @@ -13056,7 +13056,7 @@ __metadata: react-github-btn: ^1.3.0 react-lite-youtube-embed: ^2.2.2 react-markdown: ^8.0.0 - typescript: ^4.8.2 + typescript: ^5.0.4 languageName: unknown linkType: soft @@ -13065,7 +13065,7 @@ __metadata: resolution: "jest-worker@workspace:packages/jest-worker" dependencies: "@babel/core": ^7.11.6 - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 "@types/merge-stream": ^1.1.2 "@types/node": "*" "@types/supports-color": ^8.1.0 @@ -13116,7 +13116,7 @@ __metadata: dependencies: "@jest/core": "workspace:^" "@jest/types": "workspace:^" - "@tsd/typescript": ^4.9.0 + "@tsd/typescript": ^5.0.4 import-local: ^3.0.2 jest-cli: "workspace:^" tsd-lite: ^0.7.0 @@ -20184,43 +20184,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.8.2": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: ee000bc26848147ad423b581bd250075662a354d84f0e06eb76d3b892328d8d4440b7487b5a83e851b12b255f55d71835b008a66cbf8f255a11e4400159237db - languageName: node - linkType: hard - -"typescript@npm:~4.8.4": - version: 4.8.4 - resolution: "typescript@npm:4.8.4" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 3e4f061658e0c8f36c820802fa809e0fd812b85687a9a2f5430bc3d0368e37d1c9605c3ce9b39df9a05af2ece67b1d844f9f6ea8ff42819f13bcb80f85629af0 - languageName: node - linkType: hard - -"typescript@patch:typescript@^4.8.2#~builtin": - version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin::version=4.9.5&hash=23ec76" +"typescript@npm:^5.0.4, typescript@npm:~5.0.4": + version: 5.0.4 + resolution: "typescript@npm:5.0.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: ab417a2f398380c90a6cf5a5f74badd17866adf57f1165617d6a551f059c3ba0a3e4da0d147b3ac5681db9ac76a303c5876394b13b3de75fdd5b1eaa06181c9d + checksum: 82b94da3f4604a8946da585f7d6c3025fff8410779e5bde2855ab130d05e4fd08938b9e593b6ebed165bda6ad9292b230984f10952cf82f0a0ca07bbeaa08172 languageName: node linkType: hard -"typescript@patch:typescript@~4.8.4#~builtin": - version: 4.8.4 - resolution: "typescript@patch:typescript@npm%3A4.8.4#~builtin::version=4.8.4&hash=1a91c8" +"typescript@patch:typescript@^5.0.4#~builtin, typescript@patch:typescript@~5.0.4#~builtin": + version: 5.0.4 + resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: c981e82b77a5acdcc4e69af9c56cdecf5b934a87a08e7b52120596701e389a878b8e3f860e73ffb287bf649cc47a8c741262ce058148f71de4cdd88bb9c75153 + checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9 languageName: node linkType: hard