security: bump wrangler to ^4 across worker modules (fix undici/ws/esbuild vulns)#1
Open
ColbySmithCode wants to merge 1 commit into
Open
security: bump wrangler to ^4 across worker modules (fix undici/ws/esbuild vulns)#1ColbySmithCode wants to merge 1 commit into
ColbySmithCode wants to merge 1 commit into
Conversation
npm audit flagged 5 vulnerabilities per module (2 high: undici, ws; 3 moderate: esbuild), all transitive through wrangler@3 -> miniflare. These are devDependencies (local dev/build tooling) and do not ship to the deployed Workers, but the fix requires the wrangler v4 major. Affects the customers, donors, grants, impact, and volunteers worker packages. Verified: npm audit reports 0 vulns after the bump. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.
What
Bumps
wrangler^3.0.0→^4.103.0in 5 worker modules: customers, donors, grants, impact, volunteers.Why
npm audit --audit-level=highflagged 5 vulnerabilities per module (2 high:undici,ws; 3 moderate:esbuild), all transitive throughwrangler@3 → miniflare.wranglerv4 major (breaking), so this is flagged for manual review rather than auto-applied vianpm audit fix --force.npm auditreports 0 vulnerabilities after the bump.Note
The
operationsmodule has awrangler.tomlbut nopackage.json, so it had nothing to audit/bump. No secrets were found anywhere in this repo (working tree or history).Reviewer note
Sanity-check
wrangler dev/wrangler deploystill work under v4 before merging — see the Wrangler v3→v4 migration notes.🤖 Generated with Claude Code