Upgrade React Router packages for CVE fixes#1092
Merged
Merged
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
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.
Upgrades the direct React Router package family and related direct dev tools:
react-routerto 7.16.0@react-router/devto 7.16.0@react-router/nodeto 7.16.0@react-router/expressto 7.16.0react-router-auto-routesto 0.8.4react-router-devtoolsto 6.2.1Also updates the auth callback loader test helper for React Router 7.16's server loader args (
url/pattern).Test Plan
npm list react-router @react-router/dev @react-router/node @react-router/express react-router-devtools react-router-auto-routes --depth=1node --input-type=module -e "...npm audit --json summary..."(still exits with existing audit findings; the React Router CVE package family is resolved to 7.16.0. Remaining audit entries include unrelated packages plusreact-router-devtools's existingreact-d3-tree/uuidadvisory, for which npm suggests downgrading toreact-router-devtools@1.0.0rather than a newer patched release.)set -a && . ./.env.example && set +a && npx prisma migrate deploy && npx prisma generate --sql && npm run typecheck && npm run build && npm run test -- --runChecklist
Screenshots
N/A - dependency/security update only.