Skip to content

Commit 8a0ae3a

Browse files
committed
4.3
1 parent 47e3ec3 commit 8a0ae3a

6 files changed

Lines changed: 21 additions & 18 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@jest/globals": "workspace:*",
1515
"@jest/test-utils": "workspace:*",
1616
"@tsconfig/node10": "^1.0.8",
17-
"@tsd/typescript": "~4.2.4",
17+
"@tsd/typescript": "~4.3.5",
1818
"@types/babel__core": "^7.0.0",
1919
"@types/babel__generator": "^7.0.0",
2020
"@types/babel__template": "^7.0.0",

packages/expect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"devDependencies": {
2828
"@jest/test-utils": "^27.5.0",
29-
"@tsd/typescript": "~4.2.4",
29+
"@tsd/typescript": "~4.3.5",
3030
"chalk": "^4.0.0",
3131
"fast-check": "^2.0.0",
3232
"immutable": "^4.0.0",

packages/jest-environment/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ export declare class JestEnvironment<Timer = unknown> {
4646
exportConditions?: () => Array<string>;
4747
}
4848

49-
export type Module = NodeModule;
49+
export interface Module extends NodeModule {
50+
// for some reason missing: https://nodejs.org/api/modules.html#modules_module_path
51+
path: string;
52+
}
5053

5154
// TODO: Move to some separate package
5255
export interface Jest {

packages/jest-runtime/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
import * as nativeModule from 'module';
8+
import nativeModule = require('module');
99
import * as path from 'path';
1010
import {URL, fileURLToPath, pathToFileURL} from 'url';
1111
import {

packages/jest-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"chalk": "^4.0.0"
2828
},
2929
"devDependencies": {
30-
"@tsd/typescript": "~4.2.4",
30+
"@tsd/typescript": "~4.3.5",
3131
"tsd-lite": "^0.5.1"
3232
},
3333
"publishConfig": {

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2592,7 +2592,7 @@ __metadata:
25922592
"@jest/globals": "workspace:*"
25932593
"@jest/test-utils": "workspace:*"
25942594
"@tsconfig/node10": ^1.0.8
2595-
"@tsd/typescript": ~4.2.4
2595+
"@tsd/typescript": ~4.3.5
25962596
"@types/babel__core": ^7.0.0
25972597
"@types/babel__generator": ^7.0.0
25982598
"@types/babel__template": ^7.0.0
@@ -2797,7 +2797,7 @@ __metadata:
27972797
version: 0.0.0-use.local
27982798
resolution: "@jest/types@workspace:packages/jest-types"
27992799
dependencies:
2800-
"@tsd/typescript": ~4.2.4
2800+
"@tsd/typescript": ~4.3.5
28012801
"@types/istanbul-lib-coverage": ^2.0.0
28022802
"@types/istanbul-reports": ^3.0.0
28032803
"@types/node": "*"
@@ -4441,13 +4441,13 @@ __metadata:
44414441
languageName: node
44424442
linkType: hard
44434443

4444-
"@tsd/typescript@npm:~4.2.4":
4445-
version: 4.2.4
4446-
resolution: "@tsd/typescript@npm:4.2.4"
4444+
"@tsd/typescript@npm:~4.3.5":
4445+
version: 4.3.5
4446+
resolution: "@tsd/typescript@npm:4.3.5"
44474447
bin:
44484448
tsc: typescript/bin/tsc
44494449
tsserver: typescript/bin/tsserver
4450-
checksum: c1233aafaf7fe0f2891e19678f239d237590684a27684110f1d27aa1212170d5d4ac3c15ca2378e4142c6f570c96863adae1cff737c9a41586b518081a0e77dd
4450+
checksum: 4180f90b7edd95c1e5e7c130b365085bd49b8c6bc0e374c30f437aa8392ca8c8ff3af02a28181fbe736abb198f8d3122251645fa6b77b1a9db86f16ba889c019
44514451
languageName: node
44524452
linkType: hard
44534453

@@ -9883,7 +9883,7 @@ __metadata:
98839883
dependencies:
98849884
"@jest/test-utils": ^27.5.0
98859885
"@jest/types": ^27.5.0
9886-
"@tsd/typescript": ~4.2.4
9886+
"@tsd/typescript": ~4.3.5
98879887
chalk: ^4.0.0
98889888
fast-check: ^2.0.0
98899889
immutable: ^4.0.0
@@ -20830,22 +20830,22 @@ react-native@0.64.0:
2083020830
linkType: hard
2083120831

2083220832
"typescript@*, typescript@^4.0.2, typescript@^4.0.3":
20833-
version: 4.2.4
20834-
resolution: "typescript@npm:4.2.4"
20833+
version: 4.3.5
20834+
resolution: "typescript@npm:4.3.5"
2083520835
bin:
2083620836
tsc: bin/tsc
2083720837
tsserver: bin/tsserver
20838-
checksum: edaede2fa77f56b7fba80ee624a2368ab1216e75b0434d968ccb47ab0a5e2f6d94f848b3b111c1237dd71e988cd376af26370dcdad3b94355c76e759f0dd0a1e
20838+
checksum: d9a8e78d72dd19896e6bfa73ab2a0fcea6eca2700d1d6e7c33f67a970af54a3e0fed8f715a8c4e6a0ff7fc0995067b394b2003518ab0aa84cd396377e54b760c
2083920839
languageName: node
2084020840
linkType: hard
2084120841

2084220842
"typescript@patch:typescript@*#builtin<compat/typescript>, typescript@patch:typescript@^4.0.2#builtin<compat/typescript>, typescript@patch:typescript@^4.0.3#builtin<compat/typescript>":
20843-
version: 4.2.4
20844-
resolution: "typescript@patch:typescript@npm%3A4.2.4#builtin<compat/typescript>::version=4.2.4&hash=8133ad"
20843+
version: 4.3.5
20844+
resolution: "typescript@patch:typescript@npm%3A4.3.5#builtin<compat/typescript>::version=4.3.5&hash=8133ad"
2084520845
bin:
2084620846
tsc: bin/tsc
2084720847
tsserver: bin/tsserver
20848-
checksum: 1ca0d3b8dbeddb1e8bca7709f93bad34a1a763eb9cb0c13b4ec5b41dc3dc8cdef7608a4b687ecd9796c53862a22a314644d9ced82922f85dfd7054cf5e118cc9
20848+
checksum: 7e9040a3ee8b62c9f499fdaeeb2ea143c079e88fadeba562ce2f7ee878cf3eba9cf6097bf8a4ead0de4b35582f71a4866d9f475af9b064fde430d55d9fc6aaac
2084920849
languageName: node
2085020850
linkType: hard
2085120851

0 commit comments

Comments
 (0)