Skip to content

Commit

Permalink
chore: bump @types/babel__core to get rid of custom types (#11221)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Mar 20, 2021
1 parent 129c08d commit 0e2d455
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
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

0 comments on commit 0e2d455

Please sign in to comment.