Skip to content

chore(deps): bump ws from 8.21.0 to 8.23.1 - #1163

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ws-8.23.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ws-8.23.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps ws from 8.21.0 to 8.23.1.

Release notes

Sourced from ws's releases.

8.23.1

Bug fixes

  • Window bits values that do not conform to the RFC 7692 1*DIGIT ABNF rule are no longer accepted (#2355).
  • SharedArrayBuffer and ArrayBuffer instances created in other realms are no longer masked in place (#2358).
  • Errors thrown when a redirect request is created are now properly handled (#2359).
  • Sec-WebSocket-Version header field values that do not conform to the RFC 6455 version ABNF grammar are no longer accepted (#2367).

8.23.0

Features

  • Introduced the maxPendingAutoPongs option (ace7248f).

Bug fixes

  • Fixed a remote memory exhaustion DoS vulnerability (ace7248f).

A malicious peer can flood the other peer with Ping frames while stopping reads, forcing it to buffer Pong frames that are automatically sent in response until memory is exhausted, leading to process termination due to OOM.

import { WebSocket, WebSocketServer } from 'ws';
const wss = new WebSocketServer({ port: 0 }, function () {
const data = Buffer.alloc(125);
const { port } = wss.address();
const ws = new WebSocket(ws://localhost:${port});
ws.on('open', function () {
ws.pause();
(function ping() {
  ws.ping(data, function (err) {
    if (err) return;
    ping();
  });
})();

});
ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log(client close - code: ${code} reason: ${reason.toString()});
});
});
</tr></table>

... (truncated)

Commits
  • 321d47c [dist] 8.23.1
  • fe611bf [perf] Read the first two bytes of a frame in place (#2368)
  • ca20cc8 [fix] Reject invalid Sec-WebSocket-Version values (#2367)
  • 32e2e01 [doc] Sort error codes alphabetically
  • 0cc9185 [doc] Clarify that the default masking keys come from a pool (#2364)
  • 36b30c0 [doc] Fix typo in permessage-deflate JSDoc (#2363)
  • fc667e4 [fix] Emit errors thrown while creating the redirect request (#2359)
  • dadc166 [fix] Do not mask a SharedArrayBuffer in place (#2358)
  • 0f1aa5d [fix] Reject non-decimal window bits values (#2355)
  • b704a2f [doc] Add missing parameter names to JSDoc comments (#2356)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [ws](https://github.com/websockets/ws) from 8.21.0 to 8.23.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.21.0...8.23.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.23.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

✅ CI passed: standard tier (ready PR)

Commit b9f571a, workflow run.

Layer Result Ran or skipped because
Static checks ✅ passed every push
Unit tests ✅ passed every push
npm packages: verify tarballs ✅ passed packages/**, package-lock.json or the CI workflow changed
VSIX: inspect contents ✅ passed ready PR
VSIX: self-test of the checks ✅ passed build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow changed
VSIX: activate in VS Code ✅ passed ready PR
VSIX: self-test of the activation check ✅ passed build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow changed
Webview host in unbundled extensions ✅ passed packages/vscode-ext-webview/**, package-lock.json or the CI workflow changed
E2E ⏭️ not available yet arrives with the E2E iteration (full tier)

Full run: add the ci:full-requested label to run every layer once on the current commit.
No full run yet.

Code quality

Check Status How to fix
Localization (l10n) ✅ Passed Nothing to fix
ESLint ✅ Passed Nothing to fix
Prettier formatting ✅ Passed Nothing to fix

Build size

No page, activation, VSIX or other bundle size changed by 5% or 50 KiB or more against main. VSIX: 8.8 MiB.

Artifacts: VSIX | Bundle-reports-46757036688 | L1-manifest-report-46757036688

All graphs (exact bytes)
Graph PR bytes Base bytes Delta bytes Delta %
Collection View page (collectionView) 5,013,254 5,013,254 ✅ 0 0.0%
Document View page (documentView) 4,463,685 4,463,685 ✅ 0 0.0%
Local Quick Start page (localQuickStart) 1,234,748 1,234,748 ✅ 0 0.0%
Atlas Credentials page (atlasCredentials) 1,163,419 1,163,419 ✅ 0 0.0%
Cluster Dashboard page (clusterDashboard) 1,207,633 1,207,633 ✅ 0 0.0%
Diagnose Connection page (connectionDiagnostics) 1,186,337 1,186,337 ✅ 0 0.0%
Activation (mainStartup) 3,800,152 3,800,152 ✅ 0 0.0%
Extension host (main) 10,477,245 10,476,172 ⬆️ +1,073 +0.0%
Playground worker (playgroundWorker) 5,410,436 5,410,436 ✅ 0 0.0%
VSIX (vsix) 9,222,165 9,221,856 ⬆️ +309 +0.0%
playgroundTsPlugin 6,175 6,175 ✅ 0 0.0%
viewsEntry 1,110,857 1,110,857 ✅ 0 0.0%
viewsAssets 80,340 80,340 ✅ 0 0.0%
editorWorker 259,570 259,570 ✅ 0 0.0%
jsonWorker 389,427 389,427 ✅ 0 0.0%

Packaged bytes. Shared chunks count in every graph that loads them, so rows do not add up.

Updated in place on every run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code quarantine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants