Skip to content

chore(deps): update dependency ws to v8.20.1#1545

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ws-8.x
Open

chore(deps): update dependency ws to v8.20.1#1545
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ws-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 21, 2026

This PR contains the following updates:

Package Type Update Change OpenSSF
ws overrides minor 8.19.08.20.1 OpenSSF Scorecard

Release Notes

websockets/ws (ws)

v8.20.1

Compare Source

Bug fixes

  • Fixed an uninitialized memory disclosure issue in websocket.close()
    (c0327ec).

Providing a TypedArray (e.g. Float32Array) as the reason argument for
websocket.close(), rather than the supported string or Buffer types, caused
uninitialized memory to be disclosed to the remote peer.

import { deepStrictEqual } from 'node:assert';
import { WebSocket, WebSocketServer } from 'ws';

const wss = new WebSocketServer(
  { port: 0, skipUTF8Validation: true },
  function () {
    const { port } = wss.address();
    const ws = new WebSocket(`ws://localhost:${port}`, {
      skipUTF8Validation: true
    });

    ws.on('close', function (code, reason) {
      deepStrictEqual(reason, Buffer.alloc(80));
    });
  }
);

wss.on('connection', function (ws) {
  ws.close(1000, new Float32Array(20));
});

The issue was privately reported by Nikita Skovoroda.

v8.20.0

Compare Source

Features

  • Added exports for the PerMessageDeflate class and utilities for the
    Sec-WebSocket-Extensions and Sec-WebSocket-Protocol headers (d3503c1).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Dependency updates label Mar 21, 2026
@renovate renovate Bot enabled auto-merge (squash) March 21, 2026 17:58
@renovate renovate Bot force-pushed the renovate/ws-8.x branch from d72077b to 98d995e Compare May 12, 2026 19:53
@renovate renovate Bot changed the title chore(deps): update dependency ws to v8.20.0 chore(deps): update dependency ws to v8.20.1 May 12, 2026
@github-actions github-actions Bot added qa:running QA workflow is currently running status:approved Pull request has been approved labels May 12, 2026
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot force-pushed the renovate/ws-8.x branch from 98d995e to c42c948 Compare May 18, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates qa:running QA workflow is currently running status:approved Pull request has been approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants