You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent: search for issue titled “Epic Stack catch-up: tracking”.
Goal
Upgrade this app off React Router 7.4.0 (and related packages) far enough to fix the Framework Mode __manifest denial-of-service CVEs. Do not stop at Epic Stack’s 7.16.0.
Why
This site uses React Router Framework Mode (ssr: true in react-router.config.ts). That is the affected mode.
@react-router/remix-routes-option-adapter^7.4.0 (keep this package; routing migration is package 7)
@remix-run/server-runtime^2.16.2
Do this
Branch off origin/dev (after dev has been fast-forwarded to main — see parent issue).
Bump the React Router family and server runtime to versions that satisfy 7.18.0+ / 2.17.5+. Prefer current patched latest in the 7.x / 2.17+ lines, not a major jump.
Keep @react-router/remix-routes-option-adapter in sync with the same 7.x line (still required until package 7).
Run npm install so package-lock.json is consistent.
Fix compile/test breakage caused by 7.16+ loader args if needed. Epic Stack updated app/routes/_auth/auth.$provider/callback.test.ts for url / pattern on server loader args. This repo’s equivalent is app/routes/_auth+/auth.$provider.callback.test.ts.
PR into dev.
Files allowed
package.json
package-lock.json
app/routes/_auth+/auth.$provider.callback.test.ts (only if tests fail after the bump)
Other test-only files if typecheck/tests fail because of the RR bump — list them in the PR
Do not
Do not bump Vite, Vitest, Express, Sentry, Prisma, litefs-js, or any other family
Do not add react-router-auto-routes or react-router-devtools (later packages)
Do not remove remix-flat-routes or @react-router/remix-routes-option-adapter
Do not edit dashboard+, marketing copy, fly.toml, .env.example, or localtunnel allowedHosts
Parent issue: #23
Parent: search for issue titled “Epic Stack catch-up: tracking”.
Goal
Upgrade this app off React Router 7.4.0 (and related packages) far enough to fix the Framework Mode
__manifestdenial-of-service CVEs. Do not stop at Epic Stack’s 7.16.0.Why
This site uses React Router Framework Mode (
ssr: trueinreact-router.config.ts). That is the affected mode.react-router7.15.0+,@remix-run/server-runtime2.17.5+__manifestreact-router7.18.0+__manifestDoSUpstream Epic Stack only went to 7.16.0: epicweb-dev/epic-stack#1092 / epicweb-dev/epic-stack@faaa217
Current versions in this repo (
package.json):react-router^7.4.0@react-router/dev^7.4.0@react-router/node^7.4.0@react-router/express^7.4.0@react-router/remix-routes-option-adapter^7.4.0(keep this package; routing migration is package 7)@remix-run/server-runtime^2.16.2Do this
origin/dev(afterdevhas been fast-forwarded tomain— see parent issue).@react-router/remix-routes-option-adapterin sync with the same 7.x line (still required until package 7).npm installsopackage-lock.jsonis consistent.app/routes/_auth/auth.$provider/callback.test.tsforurl/patternon server loader args. This repo’s equivalent isapp/routes/_auth+/auth.$provider.callback.test.ts.dev.Files allowed
package.jsonpackage-lock.jsonapp/routes/_auth+/auth.$provider.callback.test.ts(only if tests fail after the bump)Do not
litefs-js, or any other familyreact-router-auto-routesorreact-router-devtools(later packages)remix-flat-routesor@react-router/remix-routes-option-adapterdashboard+, marketing copy,fly.toml,.env.example, or localtunnelallowedHostsAcceptance
react-routerand@react-router/*resolve to ≥ 7.18.0;@remix-run/server-runtimeto ≥ 2.17.5 (npm lsin the PR body)npm run typecheckpassesnpm run test -- --runpassesnpm run lintpassesdevStaging smoke (human, after merge to
dev)PR target:
dev(nevermain). Implement only this issue.