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 },
+19 -33
View File
@@ -43,7 +43,7 @@ patchedDependencies:
hash: 6st5fzvttegjv64llnfegwwpca
path: patches/acpx@0.12.0.patch
acpx@0.13.1:
hash: btis2ixbxfyq422xwpnza3ncle
hash: j4huaoi2baejrlq7vdcgzlx54m
path: patches/acpx@0.13.1.patch
embedded-postgres@18.1.0-beta.16:
hash: 55uhvnotpqyiy37rn3pqpukhei
@@ -347,15 +347,15 @@ importers:
specifier: ^1.1.1
version: 1.1.1
ws:
specifier: ^8.21.3
version: 8.21.3
specifier: ^8.22.0
version: 8.22.0
devDependencies:
'@types/node':
specifier: ^24.0.0
version: 24.13.3
'@types/ws':
specifier: ^8.18.1
version: 8.18.1
specifier: ^8.18.2
version: 8.18.2
typescript:
specifier: ^7.0.2
version: 7.0.2
@@ -508,7 +508,7 @@ importers:
version: 0.160.0
acpx:
specifier: 0.13.1
version: 0.13.1(patch_hash=btis2ixbxfyq422xwpnza3ncle)
version: 0.13.1(patch_hash=j4huaoi2baejrlq7vdcgzlx54m)
ajv:
specifier: ^8.20.0
version: 8.20.0
@@ -982,7 +982,7 @@ importers:
version: 8.18.0
acpx:
specifier: 0.13.1
version: 0.13.1(patch_hash=btis2ixbxfyq422xwpnza3ncle)
version: 0.13.1(patch_hash=j4huaoi2baejrlq7vdcgzlx54m)
ai:
specifier: 7.0.130
version: 7.0.130(zod@4.4.3)
@@ -1065,8 +1065,8 @@ importers:
specifier: 1.76.1
version: 1.76.1
ws:
specifier: ^8.21.3
version: 8.21.3
specifier: ^8.22.0
version: 8.22.0
zod:
specifier: ^4.4.3
version: 4.4.3
@@ -1109,8 +1109,8 @@ importers:
specifier: ^7.2.1
version: 7.2.1
'@types/ws':
specifier: ^8.18.1
version: 8.18.1
specifier: ^8.18.2
version: 8.18.2
cross-env:
specifier: ^10.1.0
version: 10.1.0
@@ -5349,8 +5349,8 @@ packages:
'@types/webxr@0.5.24':
resolution: {integrity: sha512-h8fgEd/DpoS9CBrjEQXR+dIDraopAEfu4wYVNY2tEPwk60stPWhvZMf4Foo5FakuQ7HFZoa8WceaWFervK2Ovg==}
'@types/ws@8.18.1':
resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
'@types/ws@8.18.2':
resolution: {integrity: sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==}
'@typescript/typescript-aix-ppc64@7.0.2':
resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==}
@@ -8994,18 +8994,6 @@ packages:
wrappy@1.0.2:
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
ws@8.21.3:
resolution: {integrity: sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: '>=5.0.2'
peerDependenciesMeta:
bufferutil:
optional: true
utf-8-validate:
optional: true
ws@8.22.0:
resolution: {integrity: sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==}
engines: {node: '>=10.0.0'}
@@ -10160,11 +10148,11 @@ snapshots:
'@discordjs/rest': 2.6.3
'@discordjs/util': 1.2.0
'@sapphire/async-queue': 1.5.5
'@types/ws': 8.18.1
'@types/ws': 8.18.2
'@vladfrangu/async_event_emitter': 2.4.7
discord-api-types: 0.38.55
tslib: 2.8.1
ws: 8.21.3
ws: 8.22.0
transitivePeerDependencies:
- bufferutil
- utf-8-validate
@@ -12723,9 +12711,9 @@ snapshots:
'@slack/logger': 4.0.1
'@slack/web-api': 7.19.0
'@types/node': 24.13.3
'@types/ws': 8.18.1
'@types/ws': 8.18.2
eventemitter3: 5.0.4
ws: 8.21.3
ws: 8.22.0
transitivePeerDependencies:
- bufferutil
- debug
@@ -13310,7 +13298,7 @@ snapshots:
'@types/webxr@0.5.24': {}
'@types/ws@8.18.1':
'@types/ws@8.18.2':
dependencies:
'@types/node': 24.13.3
@@ -13503,7 +13491,7 @@ snapshots:
- bare-buffer
- react-native-b4a
acpx@0.13.1(patch_hash=btis2ixbxfyq422xwpnza3ncle):
acpx@0.13.1(patch_hash=j4huaoi2baejrlq7vdcgzlx54m):
dependencies:
'@agentclientprotocol/sdk': 1.4.0(zod@4.4.3)
commander: 15.0.0
@@ -17297,8 +17285,6 @@ snapshots:
wrappy@1.0.2: {}
ws@8.21.3: {}
ws@8.22.0: {}
wsl-utils@0.1.0:
+2 -2
View File
@@ -104,7 +104,7 @@
"smol-toml": "^1.4.2",
"ssh2": "^1.17.0",
"svix": "1.76.1",
"ws": "^8.21.3",
"ws": "^8.22.0",
"zod": "^4.4.3"
},
"bundleDependencies": [
@@ -127,7 +127,7 @@
"@types/node": "^24.0.0",
"@types/sharp": "^0.32.0",
"@types/supertest": "^7.2.1",
"@types/ws": "^8.18.1",
"@types/ws": "^8.18.2",
"cross-env": "^10.1.0",
"supertest": "^7.0.0",
"tsx": "^4.23.15",