From 3e38157ad5f23fb7d24669d24fae8ded06a7ab75 Mon Sep 17 00:00:00 2001 From: Tom Mrazauskas Date: Fri, 3 Jun 2022 08:15:22 +0300 Subject: [PATCH] chore: bump `typescript` to v4.7 (#12901) --- CHANGELOG.md | 1 + e2e/coverage-remapping/package.json | 2 +- e2e/coverage-remapping/yarn.lock | 18 +++--- .../package.json | 2 +- .../yarn.lock | 18 +++--- e2e/stack-trace-source-maps/package.json | 2 +- e2e/stack-trace-source-maps/yarn.lock | 18 +++--- e2e/typescript-coverage/package.json | 2 +- e2e/typescript-coverage/yarn.lock | 18 +++--- examples/angular/package.json | 2 +- examples/typescript/package.json | 2 +- package.json | 4 +- packages/expect/package.json | 2 +- .../typescript-in-dependencies/package.json | 2 +- .../package.json | 2 +- packages/jest-config/package.json | 2 +- packages/jest-expect/package.json | 2 +- packages/jest-mock/package.json | 2 +- packages/jest-mock/src/index.ts | 20 ++++-- 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 ++++++++++++------- 27 files changed, 113 insertions(+), 84 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca451947a7c1..f4e81b1b5385 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - `[@jest/expect-utils]` Fix deep equality of ImmutableJS OrderedMaps ([#12763](https://github.com/facebook/jest/pull/12899)) - `[jest-docblock]` Handle multiline comments in parseWithComments ([#12845](https://github.com/facebook/jest/pull/12845)) +- `[jest-mock]` Improve `spyOn` error messages ([#12901](https://github.com/facebook/jest/pull/12901)) - `[jest-worker]` Make `JestWorkerFarm` helper type to include methods of worker module that take more than one argument ([#12839](https://github.com/facebook/jest/pull/12839)) ### Chore & Maintenance diff --git a/e2e/coverage-remapping/package.json b/e2e/coverage-remapping/package.json index b7b9342d8f56..2512a5f3d1af 100644 --- a/e2e/coverage-remapping/package.json +++ b/e2e/coverage-remapping/package.json @@ -7,6 +7,6 @@ "testEnvironment": "node" }, "dependencies": { - "typescript": "^4.6.2" + "typescript": "^4.7.2" } } diff --git a/e2e/coverage-remapping/yarn.lock b/e2e/coverage-remapping/yarn.lock index 66a26ccf0f78..f748d1cd0ba3 100644 --- a/e2e/coverage-remapping/yarn.lock +++ b/e2e/coverage-remapping/yarn.lock @@ -9,26 +9,26 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - typescript: ^4.6.2 + typescript: ^4.7.2 languageName: unknown linkType: soft -"typescript@npm:^4.6.2": - version: 4.6.3 - resolution: "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: 255bb26c8cb846ca689dd1c3a56587af4f69055907aa2c154796ea28ee0dea871535b1c78f85a6212c77f2657843a269c3a742d09d81495b97b914bf7920415b + checksum: 5163585e6b56410f77d5483b698d9489bbee8902c99029eb70cf6d21525a186530ce19a00951af84eefd4a131cc51d0959f5118e25e70ab61f45ac4057dbd1ef languageName: node linkType: hard -"typescript@patch:typescript@^4.6.2#~builtin": - version: 4.6.3 - resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=7ad353" +"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=7ad353" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 6bf45caf847062420592e711bc9c28bf5f9a9a7fa8245343b81493e4ededae33f1774009d1234d911422d1646a2c839f44e1a23ecb111b40a60ac2ea4c1482a8 + checksum: 7e2b9a9f4a70fb7616f1b0d986977f8e34a74f046202fa7f24fdee79589598277810fa216b3776c20c0683a9235872c73be34fdb93f67f98c1efaca40999422f languageName: node linkType: hard diff --git a/e2e/stack-trace-source-maps-with-coverage/package.json b/e2e/stack-trace-source-maps-with-coverage/package.json index 60a023465a34..58d217d62f6c 100644 --- a/e2e/stack-trace-source-maps-with-coverage/package.json +++ b/e2e/stack-trace-source-maps-with-coverage/package.json @@ -8,6 +8,6 @@ "testRegex": "fails" }, "dependencies": { - "typescript": "^4.6.2" + "typescript": "^4.7.2" } } diff --git a/e2e/stack-trace-source-maps-with-coverage/yarn.lock b/e2e/stack-trace-source-maps-with-coverage/yarn.lock index 66a26ccf0f78..f748d1cd0ba3 100644 --- a/e2e/stack-trace-source-maps-with-coverage/yarn.lock +++ b/e2e/stack-trace-source-maps-with-coverage/yarn.lock @@ -9,26 +9,26 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - typescript: ^4.6.2 + typescript: ^4.7.2 languageName: unknown linkType: soft -"typescript@npm:^4.6.2": - version: 4.6.3 - resolution: "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: 255bb26c8cb846ca689dd1c3a56587af4f69055907aa2c154796ea28ee0dea871535b1c78f85a6212c77f2657843a269c3a742d09d81495b97b914bf7920415b + checksum: 5163585e6b56410f77d5483b698d9489bbee8902c99029eb70cf6d21525a186530ce19a00951af84eefd4a131cc51d0959f5118e25e70ab61f45ac4057dbd1ef languageName: node linkType: hard -"typescript@patch:typescript@^4.6.2#~builtin": - version: 4.6.3 - resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=7ad353" +"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=7ad353" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 6bf45caf847062420592e711bc9c28bf5f9a9a7fa8245343b81493e4ededae33f1774009d1234d911422d1646a2c839f44e1a23ecb111b40a60ac2ea4c1482a8 + checksum: 7e2b9a9f4a70fb7616f1b0d986977f8e34a74f046202fa7f24fdee79589598277810fa216b3776c20c0683a9235872c73be34fdb93f67f98c1efaca40999422f languageName: node linkType: hard diff --git a/e2e/stack-trace-source-maps/package.json b/e2e/stack-trace-source-maps/package.json index 60a023465a34..58d217d62f6c 100644 --- a/e2e/stack-trace-source-maps/package.json +++ b/e2e/stack-trace-source-maps/package.json @@ -8,6 +8,6 @@ "testRegex": "fails" }, "dependencies": { - "typescript": "^4.6.2" + "typescript": "^4.7.2" } } diff --git a/e2e/stack-trace-source-maps/yarn.lock b/e2e/stack-trace-source-maps/yarn.lock index 66a26ccf0f78..f748d1cd0ba3 100644 --- a/e2e/stack-trace-source-maps/yarn.lock +++ b/e2e/stack-trace-source-maps/yarn.lock @@ -9,26 +9,26 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - typescript: ^4.6.2 + typescript: ^4.7.2 languageName: unknown linkType: soft -"typescript@npm:^4.6.2": - version: 4.6.3 - resolution: "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: 255bb26c8cb846ca689dd1c3a56587af4f69055907aa2c154796ea28ee0dea871535b1c78f85a6212c77f2657843a269c3a742d09d81495b97b914bf7920415b + checksum: 5163585e6b56410f77d5483b698d9489bbee8902c99029eb70cf6d21525a186530ce19a00951af84eefd4a131cc51d0959f5118e25e70ab61f45ac4057dbd1ef languageName: node linkType: hard -"typescript@patch:typescript@^4.6.2#~builtin": - version: 4.6.3 - resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=7ad353" +"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=7ad353" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 6bf45caf847062420592e711bc9c28bf5f9a9a7fa8245343b81493e4ededae33f1774009d1234d911422d1646a2c839f44e1a23ecb111b40a60ac2ea4c1482a8 + checksum: 7e2b9a9f4a70fb7616f1b0d986977f8e34a74f046202fa7f24fdee79589598277810fa216b3776c20c0683a9235872c73be34fdb93f67f98c1efaca40999422f languageName: node linkType: hard diff --git a/e2e/typescript-coverage/package.json b/e2e/typescript-coverage/package.json index b7b9342d8f56..2512a5f3d1af 100644 --- a/e2e/typescript-coverage/package.json +++ b/e2e/typescript-coverage/package.json @@ -7,6 +7,6 @@ "testEnvironment": "node" }, "dependencies": { - "typescript": "^4.6.2" + "typescript": "^4.7.2" } } diff --git a/e2e/typescript-coverage/yarn.lock b/e2e/typescript-coverage/yarn.lock index 66a26ccf0f78..f748d1cd0ba3 100644 --- a/e2e/typescript-coverage/yarn.lock +++ b/e2e/typescript-coverage/yarn.lock @@ -9,26 +9,26 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - typescript: ^4.6.2 + typescript: ^4.7.2 languageName: unknown linkType: soft -"typescript@npm:^4.6.2": - version: 4.6.3 - resolution: "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: 255bb26c8cb846ca689dd1c3a56587af4f69055907aa2c154796ea28ee0dea871535b1c78f85a6212c77f2657843a269c3a742d09d81495b97b914bf7920415b + checksum: 5163585e6b56410f77d5483b698d9489bbee8902c99029eb70cf6d21525a186530ce19a00951af84eefd4a131cc51d0959f5118e25e70ab61f45ac4057dbd1ef languageName: node linkType: hard -"typescript@patch:typescript@^4.6.2#~builtin": - version: 4.6.3 - resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=7ad353" +"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=7ad353" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 6bf45caf847062420592e711bc9c28bf5f9a9a7fa8245343b81493e4ededae33f1774009d1234d911422d1646a2c839f44e1a23ecb111b40a60ac2ea4c1482a8 + checksum: 7e2b9a9f4a70fb7616f1b0d986977f8e34a74f046202fa7f24fdee79589598277810fa216b3776c20c0683a9235872c73be34fdb93f67f98c1efaca40999422f languageName: node linkType: hard 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 9e93032f5498..6ec29b27dac0 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 62581c7866bb..731e5e967692 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": "^3.0.0", "immutable": "^4.0.0", diff --git a/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dependencies/package.json b/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dependencies/package.json index 45d694a634cc..e31c003709e0 100644 --- a/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dependencies/package.json +++ b/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dependencies/package.json @@ -1,6 +1,6 @@ { "name": "typescript_in_dev_dependencies", "devDependencies": { - "typescript": "^4.6.2" + "typescript": "^4.7.2" } } diff --git a/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dev-dependencies/package.json b/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dev-dependencies/package.json index 90688f161ebf..24f944bbc5ec 100644 --- a/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dev-dependencies/package.json +++ b/packages/jest-cli/src/init/__tests__/fixtures/typescript-in-dev-dependencies/package.json @@ -1,6 +1,6 @@ { "name": "only-package-json", "dependencies": { - "typescript": "^4.6.2" + "typescript": "^4.7.2" } } 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-mock/src/index.ts b/packages/jest-mock/src/index.ts index b4164f26463c..c2f31b82ff36 100644 --- a/packages/jest-mock/src/index.ts +++ b/packages/jest-mock/src/index.ts @@ -1087,7 +1087,9 @@ export class ModuleMocker { if (!this.isMockFunction(original)) { if (typeof original !== 'function') { throw new Error( - `Cannot spy the ${methodName} property because it is not a function; ${this._typeOf( + `Cannot spy the ${String( + methodName, + )} property because it is not a function; ${this._typeOf( original, )} given instead`, ); @@ -1149,7 +1151,9 @@ export class ModuleMocker { if (!obj) { throw new Error( - `spyOn could not find an object to spy upon for ${propertyName}`, + `spyOn could not find an object to spy upon for ${String( + propertyName, + )}`, ); } @@ -1166,16 +1170,18 @@ export class ModuleMocker { } if (!descriptor) { - throw new Error(`${propertyName} property does not exist`); + throw new Error(`${String(propertyName)} property does not exist`); } if (!descriptor.configurable) { - throw new Error(`${propertyName} is not declared configurable`); + throw new Error(`${String(propertyName)} is not declared configurable`); } if (!descriptor[accessType]) { throw new Error( - `Property ${propertyName} does not have access type ${accessType}`, + `Property ${String( + propertyName, + )} does not have access type ${accessType}`, ); } @@ -1184,7 +1190,9 @@ export class ModuleMocker { if (!this.isMockFunction(original)) { if (typeof original !== 'function') { throw new Error( - `Cannot spy the ${propertyName} property because it is not a function; ${this._typeOf( + `Cannot spy the ${String( + propertyName, + )} property because it is not a function; ${this._typeOf( original, )} given instead`, ); 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 161308ce9133..ded97ff97705 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2623,7 +2623,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 @@ -2670,7 +2670,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 @@ -2737,7 +2737,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 @@ -2753,7 +2753,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 @@ -2885,7 +2885,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": "*" @@ -4753,13 +4753,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 @@ -6176,7 +6176,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 @@ -10241,7 +10241,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 @@ -10305,7 +10305,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: ^3.0.0 immutable: ^4.0.0 @@ -13152,7 +13152,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" @@ -13407,7 +13407,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 @@ -13489,7 +13489,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 @@ -13529,7 +13529,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": "*" @@ -13623,7 +13623,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 @@ -13782,7 +13782,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 @@ -13832,7 +13832,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 @@ -21646,7 +21646,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: @@ -21656,7 +21666,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=7ad353" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 7e2b9a9f4a70fb7616f1b0d986977f8e34a74f046202fa7f24fdee79589598277810fa216b3776c20c0683a9235872c73be34fdb93f67f98c1efaca40999422f + 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=7ad353" bin: