Skip to content

Commit 60e96ef

Browse files
kelsethoxyq
authored andcommitted
bump @babel/* packages (facebook#35787)
Summary: X-link: facebook/metro#987 While working on facebook#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape. Happy to split in multiple PRs if needed. [GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump Pull Request resolved: facebook#35787 Test Plan: CI is green. Reviewed By: cipolleschi Differential Revision: D42384881 Pulled By: hoxyq fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
1 parent d71ba2d commit 60e96ef

File tree

7 files changed

+143
-37
lines changed

7 files changed

+143
-37
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
},
5151
"devDependencies": {
5252
"@babel/core": "^7.20.0",
53-
"@babel/eslint-parser": "^7.19.0",
53+
"@babel/eslint-parser": "^7.20.0",
5454
"@babel/generator": "^7.20.0",
55-
"@babel/plugin-transform-regenerator": "^7.0.0",
55+
"@babel/plugin-transform-regenerator": "^7.20.0",
5656
"@definitelytyped/dtslint": "^0.0.127",
5757
"@jest/create-cache-key-function": "^29.2.1",
5858
"@reactions/component": "^2.0.2",

packages/eslint-config-react-native-community/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native-community#readme",
1313
"dependencies": {
1414
"@babel/core": "^7.20.0",
15-
"@babel/eslint-parser": "^7.19.0",
15+
"@babel/eslint-parser": "^7.20.0",
1616
"@react-native/eslint-plugin": "^0.72.0",
1717
"@typescript-eslint/eslint-plugin": "^5.30.5",
1818
"@typescript-eslint/parser": "^5.30.5",

packages/eslint-plugin-specs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
},
1515
"dependencies": {
1616
"@babel/core": "^7.20.0",
17-
"@babel/eslint-parser": "^7.19.0",
18-
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
19-
"@babel/preset-flow": "^7.18.0",
17+
"@babel/eslint-parser": "^7.20.0",
18+
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
19+
"@babel/preset-flow": "^7.20.0",
2020
"@react-native/codegen": "*",
21-
"flow-parser": "^0.185.0",
21+
"flow-parser": "^0.206.0",
2222
"make-dir": "^2.1.0",
2323
"pirates": "^4.0.1",
2424
"source-map-support": "0.5.0"

packages/hermes-inspector-msggen/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"yargs": "^17.6.2"
1818
},
1919
"devDependencies": {
20-
"@babel/cli": "^7.19.0",
20+
"@babel/cli": "^7.20.0",
2121
"@babel/core": "^7.20.0",
2222
"@babel/preset-env": "^7.20.0",
23-
"@babel/preset-flow": "^7.18.0",
23+
"@babel/preset-flow": "^7.20.0",
2424
"jest": "^29.2.1"
2525
},
2626
"jest": {

packages/react-native-codegen/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@
1919
],
2020
"dependencies": {
2121
"@babel/parser": "^7.20.0",
22-
"flow-parser": "^0.185.0",
22+
"flow-parser": "^0.206.0",
2323
"jscodeshift": "^0.14.0",
2424
"nullthrows": "^1.1.1"
2525
},
2626
"devDependencies": {
2727
"@babel/core": "^7.20.0",
28-
"@babel/plugin-proposal-class-properties": "^7.0.0",
29-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
30-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
31-
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
32-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
33-
"@babel/plugin-transform-async-to-generator": "^7.0.0",
34-
"@babel/plugin-transform-destructuring": "^7.0.0",
35-
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
36-
"@babel/preset-env": "^7.14.0",
28+
"@babel/plugin-proposal-class-properties": "^7.18.0",
29+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
30+
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
31+
"@babel/plugin-proposal-optional-chaining": "^7.20.0",
32+
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
33+
"@babel/plugin-transform-async-to-generator": "^7.20.0",
34+
"@babel/plugin-transform-destructuring": "^7.20.0",
35+
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
36+
"@babel/preset-env": "^7.20.0",
3737
"chalk": "^4.0.0",
3838
"glob": "^7.1.1",
3939
"invariant": "^2.2.4",

packages/react-native/template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"devDependencies": {
1717
"@babel/core": "^7.20.0",
1818
"@babel/preset-env": "^7.20.0",
19-
"@babel/runtime": "^7.12.5",
19+
"@babel/runtime": "^7.20.0",
2020
"@react-native/eslint-config": "^0.72.1",
2121
"@react-native/metro-config": "^0.72.5",
2222
"@tsconfig/react-native": "^3.0.0",

yarn.lock

Lines changed: 123 additions & 17 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)