Repository navigation
Update activesupport to 7.2.4 in Example - #295
Merged
Merged
Conversation
expensify-chore-bot
Bot
requested review from
NicolasBonet
and removed request for
a team
November 25, 2026 10:45
NicolasBonet
approved these changes
Nov 25, 2026
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Updates
activesupportfrom 7.1.6 to 7.2.4 inExample/Gemfile.lockwithbundle lock --update activesupport --conservative, so no other gem versions change. This closes three medium Dependabot alerts (179, 180, 181: ReDoS innumber_to_delimited, XSS inSafeBuffer#%, DoS in number helpers), which are patched in 7.2.3.1.Bundler also drops
mutex_m, which activesupport 7.2 no longer depends on. Nothing else in the lockfile declares it, andpod installdoesn't load it.activesupport 7.2 requires Ruby 3.1 or later to install the
Examplegems. TheGemfilestill says>= 2.6.10, butmainalready resolves gems that need Ruby 3.0.The high alert (346, DoS in
safe_constantize) is only patched in 8.0.5.2+, and every CocoaPods release up to the latest (1.17.0) requiresactivesupport < 8, so it can't be upgraded away. activesupport is only a CocoaPods dependency used to runpod installfor theExampleapp. The published library doesn't include it, so that alert should be dismissed as not used, same as in react-native-wallet: Expensify/react-native-wallet#140What this fixes
$ https://github.com/Expensify/Expensify/issues/707769
Manual tests
cd Example && bundle install.bundle exec pod --versionand confirm it prints 1.14.3.yarn installinExample.cd ios && bundle exec pod install.I ran these steps locally with Ruby 3.3.7 and they passed. I did not build or run the app.
Checklist
ExampleAppExampleApp on all platforms:Screenshots/Videos
N/A, this only changes the Ruby gems used to install the
Exampleapp's pods.