Skip to content

Bump ws to 8.22.2 for two security advisories - #10

Merged
alexholzreiter merged 1 commit into
mainfrom
fix/ws-security-bump
Nov 23, 2026
Merged

alexholzreiter merged 1 commit into
mainfrom
fix/ws-security-bump

Conversation

@alexholzreiter

Copy link
Copy Markdown
Collaborator

Why

npm audit --omit=dev reports two advisories for ws 8.0.0–8.20.1, which the app ships as a runtime dependency (the HypeRate WebSocket connection in src/main.js):

What changes

ws goes from 8.20.0 to 8.22.2, within 8.x. Only package.json and package-lock.json change.

Testing

  • npm test: all checks pass.
  • npm audit --omit=dev no longer lists ws. The remaining findings (tar, node-gyp, glob) come from the native build toolchain of @abandonware/noble and are build-time only.

ws 8.20.0 is affected by an uninitialized memory disclosure and a
memory exhaustion DoS. 8.22.2 is the newest 8.x release older than two
weeks; the connection code in src/main.js uses only APIs it still has.
@alexholzreiter
alexholzreiter merged commit 2fccb57 into main Nov 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant