Skip to content

Commit

Permalink
Upgrade Metro dependencies to 0.69.0
Browse files Browse the repository at this point in the history
Summary:
While React Native depends on the `metro` package indirectly (via the CLI package), it depends on some secondary Metro packages directly. This diff updates those direct dependencies to use [Metro 0.69.0](https://github.com/facebook/metro/releases/tag/v0.69.0).

Changelog:
[General] Update direct Metro dependencies to 0.69.0

Reviewed By: motiz88

Differential Revision: D34520074

fbshipit-source-id: 93b9f5fa8ccc65132c9c96b23080edb5a339d5ce
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Feb 28, 2022
1 parent e139ef0 commit c92b64b
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 47 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@
"hermes-engine": "~0.11.0",
"invariant": "^2.2.4",
"jsc-android": "^250230.2.1",
"metro-react-native-babel-transformer": "0.68.0",
"metro-runtime": "0.68.0",
"metro-source-map": "0.68.0",
"metro-react-native-babel-transformer": "0.69.0",
"metro-runtime": "0.69.0",
"metro-source-map": "0.69.0",
"nullthrows": "^1.1.1",
"pretty-format": "^26.5.2",
"promise": "^8.0.3",
Expand Down
2 changes: 1 addition & 1 deletion repo-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"jest": "^26.6.3",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.13.1",
"metro-babel-register": "0.68.0",
"metro-babel-register": "0.69.0",
"mkdirp": "^0.5.1",
"prettier": "^2.4.1",
"react": "17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.68.0",
"metro-react-native-babel-preset": "^0.69.0",
"react-test-renderer": "17.0.2"
},
"jest": {
Expand Down
95 changes: 53 additions & 42 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3551,13 +3551,25 @@ [email protected]:
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.5.0.tgz#36432a2b12f01b217244da098924efdfdfc12327"
integrity sha512-1h8rvG23HhIR5K6Kt0e5C7BC72J1Ath/8MmSta49vxXp/j6wl7IMHvIRFYBQr35tWnQY97dSGR2uoAJ5pHUQkg==

[email protected]:
version "0.6.0"
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.6.0.tgz#e866fddae1b80aec65fe2ae450a5f2070ad54033"
integrity sha512-2YTGzJCkhdmT6VuNprWjXnvTvw/3iPNw804oc7yknvQpNKo+vJGZmtvLLCghOZf0OwzKaNAzeIMp71zQbNl09w==

[email protected]:
version "0.5.0"
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.5.0.tgz#8b678dd8b29a08b57cbaf60adba4896494c59a53"
integrity sha512-ARnJBScKAkkq8j3BHrNGBUv/4cSpZNbKDsVizEtzmsFeqC67Dopa5s4XRe+e3wN52Dh5Mj2kDB5wJvhcxwDkPg==
dependencies:
hermes-estree "0.5.0"

[email protected]:
version "0.6.0"
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.6.0.tgz#00d14e91bca830b3c1457050fa4187400cb96328"
integrity sha512-Vf58jBZca2+QBLR9h7B7mdg8oFz2g5ILz1iVouZ5DOrOrAfBmPfJjdjDT8jrO0f+iJ4/hSRrQHqHIjSnTaLUDQ==
dependencies:
hermes-estree "0.6.0"

hermes-profile-transformer@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/hermes-profile-transformer/-/hermes-profile-transformer-0.0.6.tgz#bd0f5ecceda80dd0ddaae443469ab26fb38fc27b"
Expand Down Expand Up @@ -4924,10 +4936,10 @@ merge2@^1.3.0:
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==

metro-babel-register@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/metro-babel-register/-/metro-babel-register-0.68.0.tgz#7f68fc04b385daf702b31e1b8b9e0f8e94fbf13e"
integrity sha512-KgPNipU2CkU+f+6m4b6P6jHdgYbEQ6IVr/4mO0Tqd6MMZdDQj8V3x9BK9UT11OEXocUP4+AD87EpWp8mrnySSA==
metro-babel-register@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/metro-babel-register/-/metro-babel-register-0.69.0.tgz#d5d904e249c100229277c6ada923bfc9797dd0b7"
integrity sha512-jNXQY0QFD7KZMeZJcymjVugF5squEJhRMmdGf5qyJm/QstU3z7rBt1xd4MCp1frdc4ku8IEP4Ye6XnIPST2szw==
dependencies:
"@babel/core" "^7.14.0"
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.0.0"
Expand All @@ -4950,14 +4962,14 @@ [email protected]:
metro-source-map "0.67.0"
nullthrows "^1.1.1"

metro-babel-transformer@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/metro-babel-transformer/-/metro-babel-transformer-0.68.0.tgz#90e0f6aac31082c1a1ca930d19fa2c3b829090f1"
integrity sha512-uVW3GiamyMjMSmZFWxuFrfdoGYtW56xojYl7BABpO8U634kK2tTGB8Hm+RGdzWEjBZ1B9NzKKrlM2Crtvxi72w==
metro-babel-transformer@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/metro-babel-transformer/-/metro-babel-transformer-0.69.0.tgz#6598ef631ebcb62b36d79d19a89a00d6fb54cf64"
integrity sha512-tlfdy8vkNQUqyFQYBK9lAHQvWfpC/E+auXiJZNNnKV1mbVZhmfbGpt1sLxidfXWMpcYMI1cdF0RxOkZDqTLtwQ==
dependencies:
"@babel/core" "^7.14.0"
hermes-parser "0.5.0"
metro-source-map "0.68.0"
hermes-parser "0.6.0"
metro-source-map "0.69.0"
nullthrows "^1.1.1"

[email protected]:
Expand Down Expand Up @@ -5063,10 +5075,10 @@ [email protected]:
"@babel/template" "^7.0.0"
react-refresh "^0.4.0"

metro-react-native-babel-preset@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.68.0.tgz#5a896aeeabb4f0dc796724ed75efb3e05d81b02f"
integrity sha512-y0fi1DYi2AyYxqIjjJHN0OloX9qi8qC8/+UhJaAZr3QNEt1dXUE0yhydcKoARn6rzgqWHqbiL6nqJOqfvbHr1w==
metro-react-native-babel-preset@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.69.0.tgz#5f651a027d3ced57fb1ef93e2e5a5a4a90059a93"
integrity sha512-AEvyI6h3ltvc3/hY+v7DhV3pFSSE3jhtebjYEX+ffXQ/oT3U3pbFvLXa24TCe7cTljM6eEMtmpYS+6UkGE9BKQ==
dependencies:
"@babel/core" "^7.14.0"
"@babel/plugin-proposal-async-generator-functions" "^7.0.0"
Expand All @@ -5093,7 +5105,6 @@ [email protected]:
"@babel/plugin-transform-function-name" "^7.0.0"
"@babel/plugin-transform-literals" "^7.0.0"
"@babel/plugin-transform-modules-commonjs" "^7.0.0"
"@babel/plugin-transform-object-assign" "^7.0.0"
"@babel/plugin-transform-parameters" "^7.0.0"
"@babel/plugin-transform-react-display-name" "^7.0.0"
"@babel/plugin-transform-react-jsx" "^7.0.0"
Expand All @@ -5110,17 +5121,17 @@ [email protected]:
"@babel/template" "^7.0.0"
react-refresh "^0.4.0"

metro-react-native-babel-transformer@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.68.0.tgz#bfdfe3af860142fac8feb2a4f40c9c3bf1ea1706"
integrity sha512-NCV4yrefc3jshl8yJdialj7qnGkbh8went5jJvZyvviTMfpFAjBbnlm8Hj1dzzXbxt8Z5K6CQ8xVioMxDAJRCw==
metro-react-native-babel-transformer@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.69.0.tgz#ce8183f94d18196545f1393ec37f81cd13d50c92"
integrity sha512-+s0LuEtkvIQkB+unDFTsbECtlOaPXWDOd4rrvFu9OHtDfZCbh1+7mVBLWH0noUc6b/I70beGPJQf9yiKGy7Syg==
dependencies:
"@babel/core" "^7.14.0"
babel-preset-fbjs "^3.4.0"
hermes-parser "0.5.0"
metro-babel-transformer "0.68.0"
metro-react-native-babel-preset "0.68.0"
metro-source-map "0.68.0"
hermes-parser "0.6.0"
metro-babel-transformer "0.69.0"
metro-react-native-babel-preset "0.69.0"
metro-source-map "0.69.0"
nullthrows "^1.1.1"

metro-react-native-babel-transformer@^0.67.0:
Expand Down Expand Up @@ -5148,10 +5159,10 @@ [email protected], metro-runtime@^0.67.0:
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.67.0.tgz#a8888dfd06bcebbac3c99dcac7cd622510dd8ee0"
integrity sha512-IFtSL0JUt1xK3t9IoLflTDft82bjieSzdIJWLzrRzBMlesz8ox5bVmnpQbVQEwfYUpEOxbM3VOZauVbdCmXA7g==

metro-runtime@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.68.0.tgz#58cc80de8d615bf783e0446ad2830b724ccc0001"
integrity sha512-FDtecsblgru4ObES1EHIyyBCTYTHxxY3olv+4V/OtSfaD4AJVnqyVeSG865tz5fYnrJ4pk4jYj7vn8x16WJQdA==
metro-runtime@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.69.0.tgz#cfddafbb8f3e194b3e2eb917ed851d0ee10d8e04"
integrity sha512-m4qnrNIU5r/mYKiMJwfsUpJ8Q3oZa+bp0bpQHYxt5KvXETiFTEO3iF5ZsebLDII0SbEY+vIzGVXZFlA4p7XX9A==

[email protected]:
version "0.67.0"
Expand All @@ -5167,17 +5178,17 @@ [email protected]:
source-map "^0.5.6"
vlq "^1.0.0"

metro-source-map@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.68.0.tgz#8ea2563b1efa596fe0614b51e5cd5de3e4c0cdd3"
integrity sha512-/pDVGIUyb+Wf5aNxcf+PLqss1X2tt5BJAzSSv9CqCI6NdM0qUO+6sklIme0xkQ0DSfsf+SJQVhId3b8As8dfag==
metro-source-map@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.69.0.tgz#1fd1d9a886da2d1b147b57647d86f91f0b57512b"
integrity sha512-EvnX4kgUALt/xS+kASgwMSXjNTMjoicN1bIAVZsYWi/fujoc/nWWm05WJqmNzJHMyA/IUR4nBmmcQT+y5ZE5RA==
dependencies:
"@babel/traverse" "^7.14.0"
"@babel/types" "^7.0.0"
invariant "^2.2.4"
metro-symbolicate "0.68.0"
metro-symbolicate "0.69.0"
nullthrows "^1.1.1"
ob1 "0.68.0"
ob1 "0.69.0"
source-map "^0.5.6"
vlq "^1.0.0"

Expand All @@ -5193,13 +5204,13 @@ [email protected]:
through2 "^2.0.1"
vlq "^1.0.0"

metro-symbolicate@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.68.0.tgz#166b571172cafaee91f98628132e379158b7f1b6"
integrity sha512-zX/aZBGutE9RN/mDZjUtQ478jaRiAn/ZekfnuvTtaUuBTpH+oxmqA5jYxEarzevwOAKptCGKlhIj9/+9RDk8zg==
metro-symbolicate@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.69.0.tgz#46911445f9114371e694c07c3d562f2747d3c581"
integrity sha512-KMDS5vB85WWlFX2P7d9+8+W5R78hAhgj8wfB5uw0HiG+bO2k3uACunFImFLqWU+Eqc57OZPxyF/XYi5h2q15CQ==
dependencies:
invariant "^2.2.4"
metro-source-map "0.68.0"
metro-source-map "0.69.0"
nullthrows "^1.1.1"
source-map "^0.5.6"
through2 "^2.0.1"
Expand Down Expand Up @@ -5540,10 +5551,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.67.0.tgz#91f104c90641b1af8c364fc82a4b2c7d0801072d"
integrity sha512-YvZtX8HKYackQ5PwdFIuuNFVsMChRPHvnARRRT0Vk59xsBvL5t9U1Ock3M1sYrKj+Gp73+0q9xcHLAxI+xLi5g==

ob1@0.68.0:
version "0.68.0"
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.68.0.tgz#1da5746721190125f093add4b2ff6b8e457344b8"
integrity sha512-Ukcd9MascBFsYhwf1ovgVElHR4z0hEIL9rAifm296LqCceqg9atPwhLWJGYdtDvD19aQvUpNKfsahK5TkEW75A==
ob1@0.69.0:
version "0.69.0"
resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.69.0.tgz#46556143247f671b9b99fa4cbfd0a60a354fa050"
integrity sha512-TDhnMJnbb41HklhCy/1o7lJS6p8k14vk7rVaMuV7i8iDH/iVLF51UDFQtO0Yh73WhdONXquhRxaDjFtUBZqjmg==

object-assign@^4.1.1:
version "4.1.1"
Expand Down

0 comments on commit c92b64b

Please sign in to comment.