Skip to content

chore(deps): bump ws from 8.17.1 to 8.20.1 in /parachain/scripts/ts-utils#3998

Merged
Kailai-Wang merged 1 commit into
devfrom
dependabot/npm_and_yarn/parachain/scripts/ts-utils/ws-8.20.1
May 22, 2026
Merged

chore(deps): bump ws from 8.17.1 to 8.20.1 in /parachain/scripts/ts-utils#3998
Kailai-Wang merged 1 commit into
devfrom
dependabot/npm_and_yarn/parachain/scripts/ts-utils/ws-8.20.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 22, 2026

Bumps ws from 8.17.1 to 8.20.1.

Release notes

Sourced from ws's releases.

8.20.1

Bug fixes

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

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.

8.20.0

Features

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

8.19.0

Features

  • Added the closeTimeout option (#2308).

Bug fixes

  • Handled a forthcoming breaking change in Node.js core (19984854).

... (truncated)

Commits
  • 5d9b316 [dist] 8.20.1
  • c0327ec [security] Fix uninitialized memory disclosure in websocket.close()
  • ce2a3d6 [ci] Test on node 26
  • 58e45b8 [ci] Do not test on node 25
  • 5f26c24 [ci] Run the lint step on node 24
  • 8439255 [dist] 8.20.0
  • d3503c1 [minor] Export the PerMessageDeflate class and header utils
  • 3ee5349 [api] Convert the isServer and maxPayload parameters to options
  • 91707b4 [doc] Add missing space
  • 8b55319 [pkg] Update eslint to version 10.0.1
  • Additional commits viewable in compare view

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
heima-aa-demo-app Ignored Ignored May 22, 2026 2:55pm

Request Review

Kailai-Wang added a commit that referenced this pull request May 22, 2026
Aggregated patch set under the same rule as #3993: no polkadot-sdk, no
enclave/Rust under tee-worker/**/Cargo.*. Only JS/TS tooling touched.

- ws bumps (8.x patch, security fixes):
  - parachain/docker/pnpm-lock.yaml (8.18.2 -> 8.20.1)
  - parachain/ts-tests/pnpm-lock.yaml (8.20.0 -> 8.20.1) — #3997
  - tee-worker/client-api/pnpm-lock.yaml (8.18.2 -> 8.20.1)
  - tee-worker/identity/scripts/test_transfer/package-lock.json (8.18.2 -> 8.20.1)
  - tee-worker/identity/ts-tests/{pnpm-lock.yaml,integration-tests,
    post-checks,worker}/* (8.18.3 -> 8.20.1)
  - tee-worker/omni-executor/client-sdk/{package.json,pnpm-lock.yaml}
    (8.20.0 -> 8.20.1) — #3996
  - tee-worker/omni-executor/ts-tests/{pnpm-lock.yaml,
    integration-tests,stress-tests}/* (8.20.0 -> 8.20.1) — #3994
- brace-expansion bumps:
  - tee-worker/omni-executor/client-sdk: 5.0.5 -> 5.0.6 + balanced-match
    4.0.4 dropped (5.0.6 uses 4.0.3) — #3989
- @babel/plugin-transform-modules-systemjs bumps:
  - tee-worker/omni-executor/client-sdk: 7.29.0 -> 7.29.4 — #3995

Supersedes: #3989, #3994, #3995, #3996, #3997.

Partially absorbs #4001 (the npm 6-dir bundle): took its parachain/docker,
client-api, identity/scripts/test_transfer, and identity/ts-tests pieces.

Excluded on purpose:
- #3998 (ws in parachain/scripts/ts-utils): dependabot's patch also drifts
  lockfile specifiers for @polkadot/{api,util,util-crypto}, prettier,
  ethers, tsx etc. away from package.json, breaking --frozen-lockfile.
  Leave for a clean regenerated patch.
- #4001's tee-worker/identity/client-sdk/{package.json,pnpm-lock.yaml}:
  same v6 -> v9 lockfile-format migration as before (~12k-line diff).
- #4001's tee-worker/omni-executor/contracts/aa/aa-demo-app/**:
  triggers contract-check, which still fails on the pre-existing
  anchor-syn 0.32.1 / rustc incompat.
- #4003: both target dirs (identity/client-sdk + aa-demo-app) are
  off-limits for the above reasons.
- #3992, #3999, #4000: cargo bumps under tee-worker/omni-executor (Rust).
- #4001 (parent bundle): partially absorbed here; remaining bits left
  for follow-up.

Each lockfile validated locally with `pnpm install --frozen-lockfile`.
Bumps [ws](https://github.com/websockets/ws) from 8.17.1 to 8.20.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.17.1...8.20.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/parachain/scripts/ts-utils/ws-8.20.1 branch from 2fff0e3 to d46455d Compare May 22, 2026 14:55
@Kailai-Wang
Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 22, 2026

Looks like this PR is already up-to-date with dev! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@Kailai-Wang Kailai-Wang merged commit 1f8260e into dev May 22, 2026
15 checks passed
@Kailai-Wang Kailai-Wang deleted the dependabot/npm_and_yarn/parachain/scripts/ts-utils/ws-8.20.1 branch May 22, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant