Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump @types/babel__core to get rid of custom types #11221

Merged
merged 1 commit into from
Mar 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/babel-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@jest/transform": "^27.0.0-next.5",
"@jest/types": "^27.0.0-next.3",
"@types/babel__core": "^7.1.7",
"@types/babel__core": "^7.1.14",
"babel-plugin-istanbul": "^6.0.0",
"babel-preset-jest": "^27.0.0-next.3",
"chalk": "^4.0.0",
Expand Down
13 changes: 1 addition & 12 deletions packages/babel-jest/src/loadBabelConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,4 @@
*/

// this is a separate file so it can be mocked in tests
export {loadPartialConfig} from '@babel/core';

import {
PartialConfig,
TransformOptions,
// @ts-expect-error: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/51741
loadPartialConfigAsync as asyncVersion,
} from '@babel/core';

export const loadPartialConfigAsync: (
options?: TransformOptions,
) => Promise<Readonly<PartialConfig> | null> = asyncVersion;
export {loadPartialConfig, loadPartialConfigAsync} from '@babel/core';
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4360,16 +4360,16 @@ __metadata:
languageName: node
linkType: hard

"@types/babel__core@npm:*, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.0.4, @types/babel__core@npm:^7.1.0, @types/babel__core@npm:^7.1.7":
version: 7.1.12
resolution: "@types/babel__core@npm:7.1.12"
"@types/babel__core@npm:*, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.0.4, @types/babel__core@npm:^7.1.0, @types/babel__core@npm:^7.1.14":
version: 7.1.14
resolution: "@types/babel__core@npm:7.1.14"
dependencies:
"@babel/parser": ^7.1.0
"@babel/types": ^7.0.0
"@types/babel__generator": "*"
"@types/babel__template": "*"
"@types/babel__traverse": "*"
checksum: e2642b77b89af41254a19d85b6cc5b1096f9825aa2b6534d5426cee7fbf6d90cfeceb5c1621f233d32dc1925a9fe88c317e412f81a061cf7239dbd4e2dd413e4
checksum: e0212770e1cd520b8ad241642e9f99ef20b5c609c157ffe154c42e136c85f3c3f598ad7bfd452fda8abb304c483d6bce92de0b8ed0612f9f1c57b6c4a18da7b3
languageName: node
linkType: hard

Expand Down Expand Up @@ -6229,7 +6229,7 @@ __metadata:
"@jest/test-utils": ^27.0.0-next.5
"@jest/transform": ^27.0.0-next.5
"@jest/types": ^27.0.0-next.3
"@types/babel__core": ^7.1.7
"@types/babel__core": ^7.1.14
"@types/graceful-fs": ^4.1.3
babel-plugin-istanbul: ^6.0.0
babel-preset-jest: ^27.0.0-next.3
Expand Down