chore: bump axios to ^1.18.0 to resolve moderate security advisories#33541
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
PR template — items to address before "Ready for review"Warnings — informational, address before merging:
See docs/readme/ready-for-review.md for the full Definition of Ready for Review. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Axios usage in app code is limited to:
Axios is also used in E2E test infrastructure (FixtureHelper.ts, e2eCommandPolling.ts, e2eStateExport.ts) and performance test helpers, but these are test utilities that are unlikely to be broken by a minor axios version bump. Since axios maintains backward compatibility within major versions (1.x), this is a low-risk change. The minor version bump (1.16→1.18) typically includes bug fixes and security patches without breaking API changes. Selected SmokeMoney and SmokeNetworkAbstractions to cover the two main app-code consumers of axios. No performance tests are needed as this is a dependency version bump with no changes to performance-sensitive rendering or computation paths. Performance Test Selection: |
|



Description
yarn audit:ciwas failing becauseaxios@1.16.1was locked across the entiredependency tree, triggering three moderate-severity advisories.
The
resolutionsoverride inpackage.jsonwas pinning axios to^1.16.0,which kept the vulnerable
1.16.1inyarn.lockeven though newer patchedversions exist. This PR bumps axios to
^1.18.0(resolves to1.18.1) in boththe direct dependency and the resolutions override, then relocks so every
dependent (Appium, Ledger, on-ramp-sdk, sats-connect, stellar-sdk, etc.) uses
the patched version.
Advisories resolved
formDataToJSON→ DoSformToJSONkey recursion → DoSChanges
package.json: bumpaxios^1.16.0→^1.18.0(direct dependency +resolutions)yarn.lock: relock —axios@1.16.1→axios@1.18.1Changelog
CHANGELOG entry:null
Related issues
Fixes: CI audit failing
Manual testing steps
yarn audit:ci→ passes withNo audit suggestions(exit code 0)yarn why axios→ all dependents resolve toaxios@npm:1.18.1Screenshots/Recordings
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist