From 4d736b681d4c86a8e4806eb02c2dfe778be9548e Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 21 Jul 2026 12:03:45 -0500
Subject: [PATCH] build(deps): bump ws from 8.19.0 to 8.21.1 (#9891)
Bumps [ws](https://github.com/websockets/ws) from 8.19.0 to 8.21.1.
Sourced from ws's
releases. A high volume of tiny fragments and data chunks could be sent by a
peer, using
modest network traffic, to crash a const wss = new WebSocketServer({ port: 0 }, function () {
const data = Buffer.alloc(1);
const options = { fin: false };
const { port } = wss.address();
const ws = new WebSocket( ws.on('open', function () {
(function send() {
ws.send(data, options, function (err) {
if (err) return;
send();
});
})();
}); ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log( wss.on('connection', function (ws) {
ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log(Release notes
8.21.1
Bug fixes
maxBufferedChunks and
maxFragments options have
been reduced (f197ac65).8.21.0
Features
maxBufferedChunks and
maxFragments options (2b2abd45).Bug fixes
ws server or client due
to OOM.import { WebSocket, WebSocketServer } from 'ws';
ws://localhost:${port});client close - code: ${code} reason:
${reason.toString()});
});
});server close - code: ${code} reason:
${reason.toString()});
});
});
... (truncated)
ae1de54
[dist] 8.21.18e9511b
[ci] Trust Coveralls Homebrew tapf197ac6
[fix] Lower default values of maxBufferedChunks and
maxFragments8df8265
[ci] Update actions/checkout action to v7a2f4e7c
[fix] Count empty fragments toward the limit (#2329)e79f912
[pkg] Approve install scripts for bufferutil and utf-8-validate4ea355d
[doc] Document 32-bit signed integer coercion for option values2120f4c
[example] Remove uuid dependency4c534a6
[security] Add latest vulnerability to SECURITY.mdbca91ad
[dist] 8.21.0