Skip to content

Commit

Permalink
chore: update typescript (#15143)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Jun 21, 2024
1 parent 046787e commit 65a80ee
Show file tree
Hide file tree
Showing 21 changed files with 273 additions and 248 deletions.
362 changes: 181 additions & 181 deletions .yarn/releases/yarn-3.8.2.cjs → .yarn/releases/yarn-3.8.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.8.2.cjs
yarnPath: .yarn/releases/yarn-3.8.3.cjs
36 changes: 18 additions & 18 deletions e2e/__tests__/__snapshots__/coverageRemapping.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,23 @@ Object {
"1": 1,
"2": 1,
"3": 1,
"4": 0,
"4": 1,
"5": 0,
"6": 1,
"6": 0,
"7": 1,
},
"statementMap": Object {
"0": Object {
"end": Object {
"column": 16,
"line": 10,
},
"start": Object {
"column": 0,
"line": 10,
},
},
"1": Object {
"end": Object {
"column": 39,
"line": 11,
Expand All @@ -272,7 +282,7 @@ Object {
"line": 11,
},
},
"1": Object {
"2": Object {
"end": Object {
"column": 39,
"line": 12,
Expand All @@ -282,7 +292,7 @@ Object {
"line": 12,
},
},
"2": Object {
"3": Object {
"end": Object {
"column": 48,
"line": 13,
Expand All @@ -292,7 +302,7 @@ Object {
"line": 13,
},
},
"3": Object {
"4": Object {
"end": Object {
"column": 53,
"line": 14,
Expand All @@ -302,7 +312,7 @@ Object {
"line": 14,
},
},
"4": Object {
"5": Object {
"end": Object {
"column": 41,
"line": 14,
Expand All @@ -312,7 +322,7 @@ Object {
"line": 14,
},
},
"5": Object {
"6": Object {
"end": Object {
"column": 54,
"line": 14,
Expand All @@ -322,7 +332,7 @@ Object {
"line": 14,
},
},
"6": Object {
"7": Object {
"end": Object {
"column": 15,
"line": 16,
Expand All @@ -332,16 +342,6 @@ Object {
"line": 16,
},
},
"7": Object {
"end": Object {
"column": 16,
"line": 10,
},
"start": Object {
"column": 0,
"line": 10,
},
},
},
},
}
Expand Down
12 changes: 6 additions & 6 deletions e2e/coverage-remapping/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ __metadata:
linkType: soft

"typescript@npm:^5.0.0":
version: 5.4.5
resolution: "typescript@npm:5.4.5"
version: 5.5.2
resolution: "typescript@npm:5.5.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0
checksum: 9c5a7982dadcb2d38d129c575dd38645ae11588ae0d4a12852fb04482bbc5a1660b2371e48fd5b33b6b605cc57cefe777670054546856945a05e77bd22c8c2cd
languageName: node
linkType: hard

"typescript@patch:typescript@^5.0.0#~builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
version: 5.5.2
resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin<compat/typescript>::version=5.5.2&hash=379a07"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: d59e26e74f6b444517d0ba16e0ee16e75c652c2b49a59f2ebdbeb16647a855fd50c7fc786a58987e45f03bce0677092e2dd3333649fd53b11d0b0d271455837c
checksum: d8c8af1adb92ef36998cc9293ad8607dda68564ecc2f315a7298d6d40edae1906e0ed88e0b2b02da686adc61d638cbecb82b4c694d5bccc621b8baf6e6274f7c
languageName: node
linkType: hard
6 changes: 3 additions & 3 deletions e2e/native-esm/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1446,8 +1446,8 @@ __metadata:
linkType: hard

"ws@npm:^8.8.1":
version: 8.17.0
resolution: "ws@npm:8.17.0"
version: 8.17.1
resolution: "ws@npm:8.17.1"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ">=5.0.2"
Expand All @@ -1456,7 +1456,7 @@ __metadata:
optional: true
utf-8-validate:
optional: true
checksum: 147ef9eab0251364e1d2c55338ad0efb15e6913923ccbfdf20f7a8a6cb8f88432bcd7f4d8f66977135bfad35575644f9983201c1a361019594a4e53977bf6d4e
checksum: 442badcce1f1178ec87a0b5372ae2e9771e07c4929a3180321901f226127f252441e8689d765aa5cfba5f50ac60dd830954afc5aeae81609aefa11d3ddf5cecf
languageName: node
linkType: hard

Expand Down
6 changes: 3 additions & 3 deletions e2e/require-missing-ext/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ __metadata:
linkType: hard

"ws@npm:^6.0.0":
version: 6.2.2
resolution: "ws@npm:6.2.2"
version: 6.2.3
resolution: "ws@npm:6.2.3"
dependencies:
async-limiter: ~1.0.0
checksum: aec3154ec51477c094ac2cb5946a156e17561a581fa27005cbf22c53ac57f8d4e5f791dd4bbba6a488602cb28778c8ab7df06251d590507c3c550fd8ebeee949
checksum: bbc96ff5628832d80669a88fd117487bf070492dfaa50df77fa442a2b119792e772f4365521e0a8e025c0d51173c54fa91adab165c11b8e0674685fdd36844a5
languageName: node
linkType: hard
12 changes: 6 additions & 6 deletions e2e/stack-trace-source-maps-with-coverage/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ __metadata:
linkType: soft

"typescript@npm:^5.0.0":
version: 5.4.5
resolution: "typescript@npm:5.4.5"
version: 5.5.2
resolution: "typescript@npm:5.5.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0
checksum: 9c5a7982dadcb2d38d129c575dd38645ae11588ae0d4a12852fb04482bbc5a1660b2371e48fd5b33b6b605cc57cefe777670054546856945a05e77bd22c8c2cd
languageName: node
linkType: hard

"typescript@patch:typescript@^5.0.0#~builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
version: 5.5.2
resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin<compat/typescript>::version=5.5.2&hash=379a07"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: d59e26e74f6b444517d0ba16e0ee16e75c652c2b49a59f2ebdbeb16647a855fd50c7fc786a58987e45f03bce0677092e2dd3333649fd53b11d0b0d271455837c
checksum: d8c8af1adb92ef36998cc9293ad8607dda68564ecc2f315a7298d6d40edae1906e0ed88e0b2b02da686adc61d638cbecb82b4c694d5bccc621b8baf6e6274f7c
languageName: node
linkType: hard
12 changes: 6 additions & 6 deletions e2e/stack-trace-source-maps/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ __metadata:
linkType: soft

"typescript@npm:^5.0.0":
version: 5.4.5
resolution: "typescript@npm:5.4.5"
version: 5.5.2
resolution: "typescript@npm:5.5.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0
checksum: 9c5a7982dadcb2d38d129c575dd38645ae11588ae0d4a12852fb04482bbc5a1660b2371e48fd5b33b6b605cc57cefe777670054546856945a05e77bd22c8c2cd
languageName: node
linkType: hard

"typescript@patch:typescript@^5.0.0#~builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
version: 5.5.2
resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin<compat/typescript>::version=5.5.2&hash=379a07"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: d59e26e74f6b444517d0ba16e0ee16e75c652c2b49a59f2ebdbeb16647a855fd50c7fc786a58987e45f03bce0677092e2dd3333649fd53b11d0b0d271455837c
checksum: d8c8af1adb92ef36998cc9293ad8607dda68564ecc2f315a7298d6d40edae1906e0ed88e0b2b02da686adc61d638cbecb82b4c694d5bccc621b8baf6e6274f7c
languageName: node
linkType: hard
12 changes: 6 additions & 6 deletions e2e/typescript-coverage/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ __metadata:
linkType: soft

"typescript@npm:^5.0.0":
version: 5.4.5
resolution: "typescript@npm:5.4.5"
version: 5.5.2
resolution: "typescript@npm:5.5.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0
checksum: 9c5a7982dadcb2d38d129c575dd38645ae11588ae0d4a12852fb04482bbc5a1660b2371e48fd5b33b6b605cc57cefe777670054546856945a05e77bd22c8c2cd
languageName: node
linkType: hard

"typescript@patch:typescript@^5.0.0#~builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
version: 5.5.2
resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin<compat/typescript>::version=5.5.2&hash=379a07"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: d59e26e74f6b444517d0ba16e0ee16e75c652c2b49a59f2ebdbeb16647a855fd50c7fc786a58987e45f03bce0677092e2dd3333649fd53b11d0b0d271455837c
checksum: d8c8af1adb92ef36998cc9293ad8607dda68564ecc2f315a7298d6d40edae1906e0ed88e0b2b02da686adc61d638cbecb82b4c694d5bccc621b8baf6e6274f7c
languageName: node
linkType: hard
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,5 @@
"psl": "patch:psl@npm:^1.9.0#./.yarn/patches/psl-npm-1.9.0-a546edad1a.patch",
"ts-node@^10.5.0": "patch:ts-node@npm:^10.5.0#./.yarn/patches/ts-node-npm-10.9.1-6c268be7f4.patch"
},
"packageManager": "[email protected].2"
"packageManager": "[email protected].3"
}
3 changes: 3 additions & 0 deletions packages/babel-jest/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../"}, {"path": "../../../test-utils"}]
}
3 changes: 3 additions & 0 deletions packages/babel-plugin-jest-hoist/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../"}]
}
3 changes: 2 additions & 1 deletion packages/expect/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"compilerOptions": {
"lib": ["es2022.error"]
"lib": ["es2022.error"],
"types": ["node", "@jest/test-globals"]
},
"include": ["./**/*"],
"references": [{"path": "../../"}, {"path": "../../../test-utils"}]
Expand Down
3 changes: 3 additions & 0 deletions packages/jest-cli/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../"}]
}
3 changes: 3 additions & 0 deletions packages/jest-console/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../"}, {"path": "../../../test-utils"}]
}
2 changes: 1 addition & 1 deletion packages/jest-mock/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

/// <reference lib="ESNext.Disposable" />
/// <reference lib="ESNext.Disposable" preserve="true" />

/* eslint-disable local/ban-types-eventually, local/prefer-rest-params-eventually */

Expand Down
3 changes: 3 additions & 0 deletions packages/jest-util/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../"}]
}
3 changes: 3 additions & 0 deletions packages/jest-validate/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../"}]
}
3 changes: 3 additions & 0 deletions packages/jest-worker/src/base/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../../"}]
}
3 changes: 3 additions & 0 deletions packages/pretty-format/src/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../../../tsconfig.test.json",
"include": ["./**/*"],
"compilerOptions": {
"types": ["node", "@jest/test-globals"]
},
"references": [{"path": "../../"}]
}
Loading

0 comments on commit 65a80ee

Please sign in to comment.