Repository navigation
Update the framework dependencies for security fixes - #16
Merged
Merged
Conversation
Moves Next.js to 16.4.6, React and react-server-dom-webpack to 19.3.1, Vinext from 1.0.0-beta.5 to 1.4.5, Zod to 4.6.7, and Vite, Wrangler and the Cloudflare plugin to current releases. This clears the critical and high advisories; 11 moderate ones remain in build and lint tools. The development server now allows eval, which React 19.3's development build needs; the build check asserts the built site never does. The build check also finds the Worker code in its new chunk and records three references that are never loaded.
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.
What changed
next,eslint-config-nextreact,react-dom,react-server-dom-webpackvinextzodvitewrangler,@cloudflare/vite-plugin,@cloudflare/workers-types@vitejs/plugin-rsc,@vitejs/plugin-reactnpm auditgoes from 30 findings (2 critical, 14 high) to 11 moderate. Those are in@vercel/og(throughfflateandsatori) and the TypeScript lint tools (throughminimatch), and have no non-breaking fix yet.Code changes
worker/index.ts: the development server's policy allowseval, which React 19.3's development build needs. The built site's policy is unchanged.scripts/check-build.mjs:eval;http://nplaceholder base, and the JSON Schema version names inside Zod 4.THIRD_PARTY_NOTICES.md: versions and license counts from the new lockfile.Checks
npm run verifypasses (22 tests, lint, types, build, build check).wrangler deploy --dry-runpackages the new build layout. Nothing was deployed.