fix(server): bump wrangler to resolve ws and undici advisories#58
Open
adamsimms wants to merge 1 commit into
Open
fix(server): bump wrangler to resolve ws and undici advisories#58adamsimms wants to merge 1 commit into
adamsimms wants to merge 1 commit into
Conversation
Update wrangler from 4.69.0 to 4.104.0 so the miniflare dev dependency chain picks up ws >= 8.21.0 and patched undici/esbuild releases. npm audit reports 0 vulnerabilities after the bump. Note: wrangler 4.104 requires Node >= 22 for local development. Co-authored-by: Cursor <cursoragent@cursor.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.
Summary
wranglerfrom4.69.0to4.104.0inserver/@cloudflare/workers-typesto4.20260624.1to match the workerd peer rangews(8.18.0 → 8.21.0) andundiciviaminiflarewsandundiciare only pulled in throughwrangler→miniflarefor localwrangler dev; they are not part of the deployed Worker runtime. Still worth patching so deploy repos and CI do not carry known advisories.npm auditreports 0 vulnerabilities after this change.npm run typecheckpasses.Note on Node version
wrangler@4.104requires Node >= 22 for local development. This is a dev-tooling requirement only; Cloudflare deploys are unaffected.Test plan
cd server && npm installnpm audit→ 0 vulnerabilitiesnpm run typecheck→ passesMade with Cursor