Repository navigation
build(deps): Pin follow-redirects to patched 1.16.1+ to resolve credential-leak advisories - #6949
Merged
Merged
Conversation
…ntial-leak advisories nx pins follow-redirects to exactly 1.16.0, so a plain lockfile refresh can't move it. Add a resolutions override forcing >= 1.16.1 (resolves to 1.16.2) to clear two credential-exposure advisories: - follow-redirects: 1.16.0 -> 1.16.2 [#707, #708] Transitive dev/CI-tooling dependency (axios + nx); not shipped in @sentry/react-native. Patch-level bump; stays on the 1.16.x line. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
Contributor
antonis
marked this pull request as ready for review
October 27, 2026 09:06
alwx
approved these changes
Oct 28, 2026
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.
📢 Type of change
📜 Description
Adds a
resolutionsoverride pinningfollow-redirectsto the patched 1.16.x line (resolves to 1.16.2) to clear two credential-exposure advisories.follow-redirectsis pinned to exactly1.16.0bynx, so a plain lockfile refresh cannot move it — hence the override rather than ayarn up.sensitiveHeadersregex escaping can expose credential headers💡 Motivation and Context
Resolves two open Dependabot alerts.
follow-redirectsis a transitive dev/CI-tooling dependency (via axios and nx) — not a dependency of the shipped@sentry/react-nativepackage (packages/core), so nothing reaches end-user apps.Both fixes are within the
1.16.xline (patch-level), so the override is low-risk.💚 How did you test it?
Added
"follow-redirects": "^1.16.1"to rootresolutions, ranyarn install(resolves to 1.16.2), and verified onlypackage.jsonandyarn.lockchanged.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
Remove the
follow-redirectsresolutions override once nx ships a release that no longer pins the vulnerable 1.16.0.🤖 Generated with Claude Code