fix(deps): bump ws to 8.21.0 and diff to 8.0.3 (clears remaining audit findings)#127
Merged
Conversation
Clears the last two audit findings (npm audit now reports 0). - ws: CVE-2026-48779 (8.7) + sonatype-2026-003100 (7.5); miniflare pins 8.18.0 - diff: sonatype-2026-000159 (8.7) DoS in parsePatch; mocha pins ^7.0.0 Both dev-only (local dev server / test reporter). Sonatype-verified targets.
github-actions Bot
added a commit
that referenced
this pull request
Jun 2, 2026
Version bump type: patch PR: #127 Title: fix(deps): bump ws to 8.21.0 and diff to 8.0.3 (clears remaining audit findings)
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
Patches the final two transitive vulnerabilities via
overrides.npm auditnow reports 0 vulnerabilities (down from 8 at the start of this security pass).miniflare(hard-pins 8.18.0)parsePatch)mocha@^7.0.0Notes
npm auditrated these moderate/low, but Sonatype scores both as 8.7 high. Targets are the highest-trust clean versions per Sonatype (ws 8.21.0 → trust 94; diff 8.0.3 → trust 98).overrides:miniflarehard-pins [email protected], anddiff8.0.3 is a major bump beyond mocha's^7range.Verification
npm run build✅ passesnpm audit✅ 0 vulnerabilitiesnpm test: mocha runs and renders assertion diffs correctly under the diff 8 major (verified via the existing failures' diff output). No regression — the 2 failures are the pre-existing flaky friend-encryption / PGP tests, identical tomain(21 passing / 2 failing).