Skip to content

Commit 6bee045

Browse files
v1rtlclaude
andcommitted
chore: bump dependencies
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 85d29b8 commit 6bee045

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

bun.lockb

2.17 KB
Binary file not shown.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@
2828
},
2929
"homepage": "https://github.com/talentlessguy/tinyws#readme",
3030
"devDependencies": {
31-
"@biomejs/biome": "^1.8.2",
32-
"@commitlint/cli": "^17.6.5",
33-
"@commitlint/config-conventional": "^17.6.5",
34-
"@tinyhttp/app": "^2.1.0",
35-
"@types/bun": "^1.1.5",
36-
"@types/express": "^4.17.17",
37-
"@types/node": "^18.16.18",
38-
"@types/ws": "^8.5.5",
31+
"@biomejs/biome": "^1.9.4",
32+
"@commitlint/cli": "^17.8.1",
33+
"@commitlint/config-conventional": "^17.8.1",
34+
"@tinyhttp/app": "^2.5.2",
35+
"@types/bun": "^1.3.8",
36+
"@types/express": "^4.17.25",
37+
"@types/node": "^18.19.130",
38+
"@types/ws": "^8.18.1",
3939
"c8": "7.12.0",
40-
"express": "^4.18.2",
40+
"express": "^4.22.1",
4141
"husky": "^8.0.3",
42-
"polka": "^1.0.0-next.25",
42+
"polka": "^1.0.0-next.28",
4343
"typescript": "^4.9.5",
44-
"ws": "^8.13.0"
44+
"ws": "^8.19.0"
4545
},
4646
"peerDependencies": {
4747
"ws": ">=8"

tests/index.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,10 @@ it('restricts WebSocket to specified paths', async () => {
181181

182182
// Connection to /other should not have req.ws
183183
const ws2 = new WebSocket('ws://localhost:4449/other')
184-
const [err] = await once(ws2, 'error')
185-
assert.ok(err)
186-
ws2.close()
184+
await new Promise<void>((resolve) => {
185+
ws2.on('error', () => resolve())
186+
ws2.on('close', () => resolve())
187+
})
187188

188189
server.close()
189190
})

0 commit comments

Comments
 (0)