From 3974efd722fa10f283df76342125776a352072dd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 12 May 2026 16:20:31 +0200 Subject: bump dependencies --- node_modules/undici/lib/web/websocket/websocket.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'node_modules/undici/lib/web/websocket/websocket.js') diff --git a/node_modules/undici/lib/web/websocket/websocket.js b/node_modules/undici/lib/web/websocket/websocket.js index aa2a20a..ccedb79 100644 --- a/node_modules/undici/lib/web/websocket/websocket.js +++ b/node_modules/undici/lib/web/websocket/websocket.js @@ -435,7 +435,11 @@ class WebSocket extends EventTarget { // once this happens, the connection is open this[kResponse] = response - const parser = new ByteParser(this, parsedExtensions) + const maxPayloadSize = this[kController]?.dispatcher?.webSocketOptions?.maxPayloadSize + + const parser = new ByteParser(this, parsedExtensions, { + maxPayloadSize + }) parser.on('drain', onParserDrain) parser.on('error', onParserError.bind(this)) -- cgit v1.3