Skip to content

Commit

Permalink
Update Babel packages to ^7.22.0
Browse files Browse the repository at this point in the history
Summary:
Bumps Babel packages to `^7.22.0`, motivated by including [this deprecation warnings fix](babel/babel#15484) shipped in `7.21.3`.
 - `babel/core` to `^7.22.0`
 - `babel/parser` to `^7.22.0`
 - `babel/preset-env` to `^7.22.0`
 - `babel/traverse` to `^7.22.0`
 - `babel/cli` to `^7.22.0`
 - `babel/eslint-parser` to `^7.22.0`
 - `babel/preset-flow` to `^7.22.0`

Changelog:
[General][Changed] - Bump Babel packages to ^7.22.0 (or closest latest release)

Metro changelog: [Internal]

Differential Revision: D47992310

fbshipit-source-id: e055404c9bc58e9a170238e4eb49710b87b8c56a
  • Loading branch information
huntie authored and facebook-github-bot committed Aug 3, 2023
1 parent cd8f5d1 commit 8c3b62b
Show file tree
Hide file tree
Showing 11 changed files with 860 additions and 288 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"react": "18.2.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/eslint-parser": "^7.22.0",
"@babel/generator": "^7.20.0",
"@babel/plugin-transform-regenerator": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/preset-flow": "^7.20.0",
"@babel/preset-env": "^7.22.0",
"@babel/preset-flow": "^7.22.0",
"@definitelytyped/dtslint": "^0.0.127",
"@jest/create-cache-key-function": "^29.2.1",
"@pkgjs/parseargs": "^0.11.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"main": "index.js",
"dependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/eslint-parser": "^7.22.0",
"@react-native/eslint-plugin": "^0.73.0",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-specs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"postpack": "node postpack.js"
},
"dependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/eslint-parser": "^7.22.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@babel/preset-flow": "^7.20.0",
"@babel/preset-flow": "^7.22.0",
"@react-native/codegen": "*",
"flow-parser": "^0.206.0",
"make-dir": "^2.1.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/hermes-inspector-msggen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"yargs": "^17.6.2"
},
"devDependencies": {
"@babel/cli": "^7.20.0",
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/preset-flow": "^7.20.0",
"@babel/cli": "^7.22.0",
"@babel/core": "^7.22.0",
"@babel/preset-env": "^7.22.0",
"@babel/preset-flow": "^7.22.0",
"jest": "^29.2.1"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"license": "MIT",
"dependencies": {
"@babel/core": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/plugin-proposal-async-generator-functions": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.18.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-babel-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"license": "MIT",
"dependencies": {
"@babel/core": "^7.20.0",
"@babel/core": "^7.22.0",
"@react-native/babel-preset": "*",
"babel-preset-fbjs": "^3.4.0",
"hermes-parser": "0.15.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-codegen-typescript-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@react-native/codegen": "*"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/plugin-proposal-class-properties": "^7.18.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
Expand All @@ -30,7 +30,7 @@
"@babel/plugin-transform-async-to-generator": "^7.20.0",
"@babel/plugin-transform-destructuring": "^7.20.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/preset-env": "^7.22.0",
"@types/jest": "^29.2.1",
"jest": "^29.2.1",
"rimraf": "^3.0.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"lib"
],
"dependencies": {
"@babel/parser": "^7.20.0",
"@babel/parser": "^7.22.0",
"flow-parser": "^0.206.0",
"jscodeshift": "^0.14.0",
"nullthrows": "^1.1.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/plugin-proposal-class-properties": "^7.18.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
Expand All @@ -44,7 +44,7 @@
"@babel/plugin-transform-async-to-generator": "^7.20.0",
"@babel/plugin-transform-destructuring": "^7.20.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/preset-env": "^7.22.0",
"chalk": "^4.0.0",
"glob": "^7.1.1",
"invariant": "^2.2.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"react-native": "1000.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/preset-env": "^7.22.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "^0.73.16",
"@react-native/eslint-config": "^0.73.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/rn-tester-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"eslint": "^8.19.0",
"jest": "^29.2.1",
"webdriverio": "^7.32.0",
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/core": "^7.22.0",
"@babel/preset-env": "^7.22.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@types/jest": "^29.2.1"
}
Expand Down
Loading

0 comments on commit 8c3b62b

Please sign in to comment.