From 982c903f12102075d8ea5323048a63e97d35a74d Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 25 May 2022 10:52:46 +0200 Subject: [PATCH] chore: update typescript --- examples/angular/package.json | 2 +- examples/typescript/package.json | 2 +- package.json | 4 +- packages/expect/package.json | 2 +- packages/jest-config/package.json | 2 +- packages/jest-expect/package.json | 2 +- 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 +- yarn.lock | 62 ++++++++++++++++++---------- 15 files changed, 56 insertions(+), 36 deletions(-) diff --git a/examples/angular/package.json b/examples/angular/package.json index 08a4887857c3..c16278b48845 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.6.2", + "typescript": "^4.7.2", "zone.js": "~0.11.3" }, "devDependencies": { diff --git a/examples/typescript/package.json b/examples/typescript/package.json index 7effcd539ec6..1774e6dce7ea 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -5,7 +5,7 @@ "dependencies": { "react": "17.0.2", "react-dom": "^17.0.1", - "typescript": "^4.6.2" + "typescript": "^4.7.2" }, "devDependencies": { "@babel/core": "^7.11.6", diff --git a/package.json b/package.json index 06ae2a4449b1..21a76c3f2016 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@jest/test-utils": "workspace:*", "@microsoft/api-extractor": "^7.23.0", "@tsconfig/node12": "^1.0.9", - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "@types/babel__core": "^7.1.14", "@types/babel__generator": "^7.0.0", "@types/babel__template": "^7.0.2", @@ -81,7 +81,7 @@ "throat": "^6.0.1", "ts-node": "^10.5.0", "type-fest": "^2.11.2", - "typescript": "^4.6.2", + "typescript": "^4.7.2", "which": "^2.0.1" }, "scripts": { diff --git a/packages/expect/package.json b/packages/expect/package.json index c393e6ec714b..939b17da5047 100644 --- a/packages/expect/package.json +++ b/packages/expect/package.json @@ -26,7 +26,7 @@ }, "devDependencies": { "@jest/test-utils": "^28.1.0", - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "chalk": "^4.0.0", "fast-check": "^2.0.0", "immutable": "^4.0.0", diff --git a/packages/jest-config/package.json b/packages/jest-config/package.json index 426ba53a87c4..ec7c445f77d0 100644 --- a/packages/jest-config/package.json +++ b/packages/jest-config/package.json @@ -58,7 +58,7 @@ "@types/micromatch": "^4.0.1", "semver": "^7.3.5", "ts-node": "^10.5.0", - "typescript": "^4.6.2" + "typescript": "^4.7.2" }, "engines": { "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" diff --git a/packages/jest-expect/package.json b/packages/jest-expect/package.json index f229ab4c3117..655ea4f029a6 100644 --- a/packages/jest-expect/package.json +++ b/packages/jest-expect/package.json @@ -21,7 +21,7 @@ "jest-snapshot": "^28.1.0" }, "devDependencies": { - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "tsd-lite": "^0.5.1" }, "engines": { diff --git a/packages/jest-mock/package.json b/packages/jest-mock/package.json index dfa844123e91..4777340a8f1a 100644 --- a/packages/jest-mock/package.json +++ b/packages/jest-mock/package.json @@ -21,7 +21,7 @@ "@types/node": "*" }, "devDependencies": { - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "tsd-lite": "^0.5.1" }, "engines": { diff --git a/packages/jest-reporters/package.json b/packages/jest-reporters/package.json index 4bb12026928a..9918bad37620 100644 --- a/packages/jest-reporters/package.json +++ b/packages/jest-reporters/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@jest/test-utils": "^28.1.0", - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "@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 dae530577122..aa2327ddbcbf 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.6.2", + "@tsd/typescript": "~4.7.2", "@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 3fc16fcfa0a3..3faa1f7899a4 100644 --- a/packages/jest-runner/package.json +++ b/packages/jest-runner/package.json @@ -40,7 +40,7 @@ "throat": "^6.0.1" }, "devDependencies": { - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "@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 5083b8585dc4..dcecc2bd9ed5 100644 --- a/packages/jest-snapshot/package.json +++ b/packages/jest-snapshot/package.json @@ -45,7 +45,7 @@ "@babel/preset-flow": "^7.7.2", "@babel/preset-react": "^7.12.1", "@jest/test-utils": "^28.1.0", - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "@types/graceful-fs": "^4.1.3", "@types/natural-compare": "^1.4.0", "@types/semver": "^7.1.0", diff --git a/packages/jest-types/package.json b/packages/jest-types/package.json index 10dfa44462e7..0319947ad0f9 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.6.2", + "@tsd/typescript": "~4.7.2", "tsd-lite": "^0.5.1" }, "publishConfig": { diff --git a/packages/jest-worker/package.json b/packages/jest-worker/package.json index 7599611d95de..121b0ced4707 100644 --- a/packages/jest-worker/package.json +++ b/packages/jest-worker/package.json @@ -22,7 +22,7 @@ "supports-color": "^8.0.0" }, "devDependencies": { - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "@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 7538b58966a0..3f67f7ad28e9 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -19,7 +19,7 @@ "jest-cli": "^28.1.0" }, "devDependencies": { - "@tsd/typescript": "~4.6.2", + "@tsd/typescript": "~4.7.2", "tsd-lite": "^0.5.1" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 3c584bce388d..905a3e94f7a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2616,7 +2616,7 @@ __metadata: version: 0.0.0-use.local resolution: "@jest/expect@workspace:packages/jest-expect" dependencies: - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 expect: ^28.1.0 jest-snapshot: ^28.1.0 tsd-lite: ^0.5.1 @@ -2663,7 +2663,7 @@ __metadata: "@jest/test-utils": "workspace:*" "@microsoft/api-extractor": ^7.23.0 "@tsconfig/node12": ^1.0.9 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/babel__core": ^7.1.14 "@types/babel__generator": ^7.0.0 "@types/babel__template": ^7.0.2 @@ -2730,7 +2730,7 @@ __metadata: throat: ^6.0.1 ts-node: ^10.5.0 type-fest: ^2.11.2 - typescript: ^4.6.2 + typescript: ^4.7.2 which: ^2.0.1 languageName: unknown linkType: soft @@ -2746,7 +2746,7 @@ __metadata: "@jest/transform": ^28.1.0 "@jest/types": ^28.1.0 "@jridgewell/trace-mapping": ^0.3.7 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/exit": ^0.1.30 "@types/glob": ^7.1.1 "@types/graceful-fs": ^4.1.3 @@ -2878,7 +2878,7 @@ __metadata: resolution: "@jest/types@workspace:packages/jest-types" dependencies: "@jest/schemas": ^28.0.2 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/istanbul-lib-coverage": ^2.0.0 "@types/istanbul-reports": ^3.0.0 "@types/node": "*" @@ -4735,13 +4735,13 @@ __metadata: languageName: node linkType: hard -"@tsd/typescript@npm:~4.6.2": - version: 4.6.3 - resolution: "@tsd/typescript@npm:4.6.3" +"@tsd/typescript@npm:~4.7.2": + version: 4.7.2 + resolution: "@tsd/typescript@npm:4.7.2" bin: tsc: typescript/bin/tsc tsserver: typescript/bin/tsserver - checksum: 8a8d570bd4cd392c8bf33bd5a9516a4bc06964d5e98754a346f2dfd051a7c8a44d33d1f449e17a696a7d6b5f81ceb36e8a7b473d9aee077bd7138f0ed252a7f6 + checksum: 4629ebaec168063d2b148e4981807a90ee678c5255cc6d98cf03e954bb8cea67c8935c4630b0798dc3c98f51a5fc85c20c2cbad7617a403c8607f73fbf4a984b languageName: node linkType: hard @@ -6158,7 +6158,7 @@ __metadata: jest-zone-patch: "*" rxjs: ^7.5.5 tslib: ^2.0.0 - typescript: ^4.6.2 + typescript: ^4.7.2 zone.js: ~0.11.3 languageName: unknown linkType: soft @@ -10204,7 +10204,7 @@ __metadata: jest: "workspace:*" react: 17.0.2 react-dom: ^17.0.1 - typescript: ^4.6.2 + typescript: ^4.7.2 languageName: unknown linkType: soft @@ -10268,7 +10268,7 @@ __metadata: dependencies: "@jest/expect-utils": ^28.1.0 "@jest/test-utils": ^28.1.0 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 chalk: ^4.0.0 fast-check: ^2.0.0 immutable: ^4.0.0 @@ -13099,7 +13099,7 @@ __metadata: slash: ^3.0.0 strip-json-comments: ^3.1.1 ts-node: ^10.5.0 - typescript: ^4.6.2 + typescript: ^4.7.2 peerDependencies: "@types/node": "*" ts-node: ">=9.0.0" @@ -13354,7 +13354,7 @@ __metadata: resolution: "jest-mock@workspace:packages/jest-mock" dependencies: "@jest/types": ^28.1.0 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/node": "*" tsd-lite: ^0.5.1 languageName: unknown @@ -13436,7 +13436,7 @@ __metadata: version: 0.0.0-use.local resolution: "jest-resolve@workspace:packages/jest-resolve" dependencies: - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/graceful-fs": ^4.1.3 "@types/pnpapi": ^0.0.2 "@types/resolve": ^1.20.2 @@ -13476,7 +13476,7 @@ __metadata: "@jest/test-result": ^28.1.0 "@jest/transform": ^28.1.0 "@jest/types": ^28.1.0 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/exit": ^0.1.30 "@types/graceful-fs": ^4.1.3 "@types/node": "*" @@ -13570,7 +13570,7 @@ __metadata: "@jest/test-utils": ^28.1.0 "@jest/transform": ^28.1.0 "@jest/types": ^28.1.0 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/babel__traverse": ^7.0.6 "@types/graceful-fs": ^4.1.3 "@types/natural-compare": ^1.4.0 @@ -13728,7 +13728,7 @@ __metadata: version: 0.0.0-use.local resolution: "jest-worker@workspace:packages/jest-worker" dependencies: - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 "@types/merge-stream": ^1.1.2 "@types/node": "*" "@types/supports-color": ^8.1.0 @@ -13778,7 +13778,7 @@ __metadata: dependencies: "@jest/core": ^28.1.0 "@jest/types": ^28.1.0 - "@tsd/typescript": ~4.6.2 + "@tsd/typescript": ~4.7.2 import-local: ^3.0.2 jest-cli: ^28.1.0 tsd-lite: ^0.5.1 @@ -21590,7 +21590,17 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.6.2, typescript@npm:~4.6.3": +"typescript@npm:^4.7.2": + version: 4.7.2 + resolution: "typescript@npm:4.7.2" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 5163585e6b56410f77d5483b698d9489bbee8902c99029eb70cf6d21525a186530ce19a00951af84eefd4a131cc51d0959f5118e25e70ab61f45ac4057dbd1ef + languageName: node + linkType: hard + +"typescript@npm:~4.6.3": version: 4.6.3 resolution: "typescript@npm:4.6.3" bin: @@ -21600,7 +21610,17 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^4.6.2#~builtin, typescript@patch:typescript@~4.6.3#~builtin": +"typescript@patch:typescript@^4.7.2#~builtin": + version: 4.7.2 + resolution: "typescript@patch:typescript@npm%3A4.7.2#~builtin::version=4.7.2&hash=bda367" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 09d93fc0983d38eadd9b0427f790b49b4437f45002a87d447be3fbe53120880e87a91dd03e1d900498f99205d6e0b7c9784fe41fca11d56f4bbce371f74bb160 + languageName: node + linkType: hard + +"typescript@patch:typescript@~4.6.3#~builtin": version: 4.6.3 resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=bda367" bin: