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
pnpm audit --prod reports 1 critical and 26 high findings. Almost all of them come through packages that never run in production: the site runs as Vercel Node functions, not through react-router-serve, and the file-based routes package only runs at build time.
After this ticket, the production dependency list matches what the deployed functions and the client bundle actually load, and the lockfile picks up every patch available within the current ranges. A dry run on a copy of the lockfile showed the refresh alone takes the production audit to 0 critical and 2 high, both on Vite 5.
Scope:
Refresh every dependency within its current semver range.
Remove the client i18n HTTP backend. Translations ship as bundled resources, so the backend never fetches anything, and its load path points to a directory that does not exist.
Move @react-router/serve and @react-router/fs-routes to devDependencies. pnpm start keeps working locally.
Keep @types/node on 24.x to match engines.node.
Acceptance criteria
pnpm audit --prod reports no critical finding, and only Vite and esbuild findings remain
check, typecheck, unit tests and e2e tests pass
On the Vercel preview, FR and EN pages render and the language switch works, with no request to /locales/ in the network log
Activity