Skip to content

Commit

Permalink
4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 5, 2022
1 parent 47e3ec3 commit 8a0ae3a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
"@jest/globals": "workspace:*",
"@jest/test-utils": "workspace:*",
"@tsconfig/node10": "^1.0.8",
"@tsd/typescript": "~4.2.4",
"@tsd/typescript": "~4.3.5",
"@types/babel__core": "^7.0.0",
"@types/babel__generator": "^7.0.0",
"@types/babel__template": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/expect/package.json
Expand Up @@ -26,7 +26,7 @@
},
"devDependencies": {
"@jest/test-utils": "^27.5.0",
"@tsd/typescript": "~4.2.4",
"@tsd/typescript": "~4.3.5",
"chalk": "^4.0.0",
"fast-check": "^2.0.0",
"immutable": "^4.0.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/jest-environment/src/index.ts
Expand Up @@ -46,7 +46,10 @@ export declare class JestEnvironment<Timer = unknown> {
exportConditions?: () => Array<string>;
}

export type Module = NodeModule;
export interface Module extends NodeModule {
// for some reason missing: https://nodejs.org/api/modules.html#modules_module_path
path: string;
}

// TODO: Move to some separate package
export interface Jest {
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runtime/src/index.ts
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import * as nativeModule from 'module';
import nativeModule = require('module');
import * as path from 'path';
import {URL, fileURLToPath, pathToFileURL} from 'url';
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-types/package.json
Expand Up @@ -27,7 +27,7 @@
"chalk": "^4.0.0"
},
"devDependencies": {
"@tsd/typescript": "~4.2.4",
"@tsd/typescript": "~4.3.5",
"tsd-lite": "^0.5.1"
},
"publishConfig": {
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Expand Up @@ -2592,7 +2592,7 @@ __metadata:
"@jest/globals": "workspace:*"
"@jest/test-utils": "workspace:*"
"@tsconfig/node10": ^1.0.8
"@tsd/typescript": ~4.2.4
"@tsd/typescript": ~4.3.5
"@types/babel__core": ^7.0.0
"@types/babel__generator": ^7.0.0
"@types/babel__template": ^7.0.0
Expand Down Expand Up @@ -2797,7 +2797,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jest/types@workspace:packages/jest-types"
dependencies:
"@tsd/typescript": ~4.2.4
"@tsd/typescript": ~4.3.5
"@types/istanbul-lib-coverage": ^2.0.0
"@types/istanbul-reports": ^3.0.0
"@types/node": "*"
Expand Down Expand Up @@ -4441,13 +4441,13 @@ __metadata:
languageName: node
linkType: hard

"@tsd/typescript@npm:~4.2.4":
version: 4.2.4
resolution: "@tsd/typescript@npm:4.2.4"
"@tsd/typescript@npm:~4.3.5":
version: 4.3.5
resolution: "@tsd/typescript@npm:4.3.5"
bin:
tsc: typescript/bin/tsc
tsserver: typescript/bin/tsserver
checksum: c1233aafaf7fe0f2891e19678f239d237590684a27684110f1d27aa1212170d5d4ac3c15ca2378e4142c6f570c96863adae1cff737c9a41586b518081a0e77dd
checksum: 4180f90b7edd95c1e5e7c130b365085bd49b8c6bc0e374c30f437aa8392ca8c8ff3af02a28181fbe736abb198f8d3122251645fa6b77b1a9db86f16ba889c019
languageName: node
linkType: hard

Expand Down Expand Up @@ -9883,7 +9883,7 @@ __metadata:
dependencies:
"@jest/test-utils": ^27.5.0
"@jest/types": ^27.5.0
"@tsd/typescript": ~4.2.4
"@tsd/typescript": ~4.3.5
chalk: ^4.0.0
fast-check: ^2.0.0
immutable: ^4.0.0
Expand Down Expand Up @@ -20830,22 +20830,22 @@ react-native@0.64.0:
linkType: hard

"typescript@*, typescript@^4.0.2, typescript@^4.0.3":
version: 4.2.4
resolution: "typescript@npm:4.2.4"
version: 4.3.5
resolution: "typescript@npm:4.3.5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: edaede2fa77f56b7fba80ee624a2368ab1216e75b0434d968ccb47ab0a5e2f6d94f848b3b111c1237dd71e988cd376af26370dcdad3b94355c76e759f0dd0a1e
checksum: d9a8e78d72dd19896e6bfa73ab2a0fcea6eca2700d1d6e7c33f67a970af54a3e0fed8f715a8c4e6a0ff7fc0995067b394b2003518ab0aa84cd396377e54b760c
languageName: node
linkType: hard

"typescript@patch:typescript@*#builtin<compat/typescript>, typescript@patch:typescript@^4.0.2#builtin<compat/typescript>, typescript@patch:typescript@^4.0.3#builtin<compat/typescript>":
version: 4.2.4
resolution: "typescript@patch:typescript@npm%3A4.2.4#builtin<compat/typescript>::version=4.2.4&hash=8133ad"
version: 4.3.5
resolution: "typescript@patch:typescript@npm%3A4.3.5#builtin<compat/typescript>::version=4.3.5&hash=8133ad"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 1ca0d3b8dbeddb1e8bca7709f93bad34a1a763eb9cb0c13b4ec5b41dc3dc8cdef7608a4b687ecd9796c53862a22a314644d9ced82922f85dfd7054cf5e118cc9
checksum: 7e9040a3ee8b62c9f499fdaeeb2ea143c079e88fadeba562ce2f7ee878cf3eba9cf6097bf8a4ead0de4b35582f71a4866d9f475af9b064fde430d55d9fc6aaac
languageName: node
linkType: hard

Expand Down

0 comments on commit 8a0ae3a

Please sign in to comment.