build(deps): bump ws and @types/ws (#15164)

Bumps [ws](https://github.com/websockets/ws) and
[@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws).
These dependencies needed to be updated together.
Updates `ws` from 8.21.3 to 8.22.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/websockets/ws/releases">ws's
releases</a>.</em></p>
<blockquote>
<h2>8.22.0</h2>
<h1>Features</h1>
<ul>
<li>Introduced the <code>protocols</code> option (8b918b01).</li>
</ul>
<h1>Bug fixes</h1>
<ul>
<li>Calling <code>websocket.close()</code> with invalid arguments no
longer transitions the
state to <code>WebSocket.CLOSING</code> (<a
href="https://redirect.github.com/websockets/ws/issues/2337">#2337</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/websockets/ws/commit/297202cdae9b0590629821373b3b679c407f3431"><code>297202c</code></a>
[dist] 8.22.0</li>
<li><a
href="https://github.com/websockets/ws/commit/8b918b01c149c6e4ccb8051bace7f322db94ed8b"><code>8b918b0</code></a>
[feature] Introduce the <code>protocols</code> option</li>
<li><a
href="https://github.com/websockets/ws/commit/73e03eb35b1a84a3b28f906bab6a359231660695"><code>73e03eb</code></a>
[ci] Update actions/setup-node action to v7</li>
<li><a
href="https://github.com/websockets/ws/commit/d9b89544e627f2a260fb85a6f42c8ecba98d7615"><code>d9b8954</code></a>
[fix] Change the ready state after validating the arguments (<a
href="https://redirect.github.com/websockets/ws/issues/2337">#2337</a>)</li>
<li>See full diff in <a
href="https://github.com/websockets/ws/compare/8.21.3...8.22.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/ws` from 8.18.1 to 8.18.2
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws">compare
view</a></li>
</ul>
</details>
<br />

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nickyleach <331803+nickyleach@users.noreply.github.com>
Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
authored and GitHub committed 2026-10-09 09:27:45 -07:00
1 parent 73eee2c0d6
commit 2bc88ca1c5
4 files changed
+30 -38

No files matched your search

@@ -52,11 +52,11 @@
"dependencies": {
"@paperclipai/adapter-utils": "workspace:*",
"picocolors": "^1.1.1",
"ws": "^8.21.3"
"ws": "^8.22.0"
},
"devDependencies": {
"@types/node": "^24.0.0",
"@types/ws": "^8.18.1",
"@types/ws": "^8.18.2",
"typescript": "^7.0.2"
},
"engines": {
@@ -6449,6 +6449,12 @@ it("rotates PRP authority in place for a warm cross-run attachment", async () =>
it("reopens Pi after a completed turn within its cold admission budget during warm attachment", async () => {
const root = await mkdtemp(join(tmpdir(), "runnerd-pi-warm-admission-"));
const providerNode = process.platform === "linux" ? join(root, "node") : process.execPath;
if (process.platform === "linux") {
await cp(process.execPath, providerNode, { dereference: true });
await chmod(providerNode, 0o500);
expect((await stat(providerNode)).mode & 0o777).toBe(0o500);
}
const cliRoot = join(root, "dist/cli");
await mkdir(cliRoot, { recursive: true, mode: 0o700 });
const sidecarPath = join(cliRoot, "acpx-runtime-sidecar.cjs");
@@ -6459,7 +6465,7 @@ it("reopens Pi after a completed turn within its cold admission budget during wa
const bundle = createCapabilityRunnerdCodexTransport({
provider: "acpx", acpxAgent: "pi", piThinkingLevel: "low", acpxPermissionMode: "deny-all",
runnerBinary: defaultCapabilityRunnerdBinary(), stateDirectory: root, runnerFilesystemRoot: root,
providerNodeCommand: process.execPath, providerNodeCommandSha256: digest(process.execPath),
providerNodeCommand: providerNode, providerNodeCommandSha256: digest(providerNode),
acpxSidecarPath: sidecarPath, acpxSidecarSha256: digest(sidecarPath),
providerPackAuthorityDigest: `sha256:${"d".repeat(64)}`,
lifecyclePolicy: { mode: "warm", idleTimeoutMs: 60_000 },