-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(devDeps): bump metro and react-native #9280
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring: Next stepsTake a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with |
72f0638
to
fb8ade6
Compare
f1927da
to
d1afb3b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i did a brief check of reactnative.dev/docs/0.71/environment-setup vs reactnative.dev/docs/0.72/environment-setup
couldn't spot anything we need to update in our docs, but may have missed something cc @MetaMask/mobile-platform
nb: JDK 17 is required in RN v0.73+
nb: Android 14 (UpsideDownCake) SDK required in RN v0.73+
nb: Node 18+ required in RN v0.73+ (we're ahead on Node 20)
nb: babel.config.js: metro-react-native-babel-preset -> @react-native/babel-preset in RN v0.73+
nb: RN new experimental debugger preview RN v0.73+ to replace Flipper
68ec0bf
to
11f423a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm ^ thanks for reviewing with me @tommasini
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Quality Gate passedIssues Measures |
Bitrise🔄🔄🔄 Commit hash: 067ba31 Note
|
Bitrise✅✅✅ Commit hash: 067ba31 Note
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Disabled CLA since Dan is OOO |
android { | ||
- compileSdkVersion 26 | ||
- buildToolsVersion "26.0.1" | ||
+ compileSdkVersion 33 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related:
- Porting of this patch to upstream package in chore: bump android minSdkVersion from 19 to 21; target from 22 to 33 react-native-aes-crypto-forked#6
- Addressing insecure git-dependency usage in fix(deps): replace
react-native-aes-crypto-forked
withreact-native-aes-crypto
#9540
new file mode 100644 | ||
index 0000000..e717caf | ||
--- /dev/null | ||
+++ b/node_modules/react-native-aes-crypto-forked/android/build.gradle.orig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This android/build.gradle.orig
and below android/build.gradle.rej
seem to be leftover from unsuccessful previous patch attempt. Addressed in #9540.
diff --git a/node_modules/@metamask/react-native-payments/android/build.gradle b/node_modules/@metamask/react-native-payments/android/build.gradle | ||
index 0d066bd..02caf64 100644 | ||
--- a/node_modules/@metamask/react-native-payments/android/build.gradle | ||
+++ b/node_modules/@metamask/react-native-payments/android/build.gradle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will there be a corresponding update in https://github.com/MetaMask/react-native-payments to obviate the need to keep patching this package?
+ */ | ||
+ /* | ||
if (this.stack) { | ||
serialized.stack = this.stack; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue in @metamask/rpc-errors
: MetaMask/rpc-errors#131
It does seem like a general issue to pass a potentially cyclic stack as "serialized" and that it would make sense for @metamask/rpc-errors
to do some form of cycle-safe serialization of the stack - stop after recursing N levels for example?
Description
Update react-native and metro to receive patches.
0.73
to0.76
metro-config
to@react-native/metro-config
react-native
from0.71.15
to0.72.14
@react-native-community/
packages@react-native-community/netinfo
from6.0.0
to^9.5.0
@react-native-masked-view/masked-view
React Native Upgrade
Android SDK Update
Related issues
Manual testing steps
Node environment must be
18.18.2
Supports Java version
17.0.10
yarn setup
yarn watch
yarn start:ios
- wait for app to build on iOS simulatoryarn start:android
- wait for app to build Android emulatorScreenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist