Skip to content

Commit 7a59ee3

Browse files
committed
[pkg] Update ws to version 8.16.0
1 parent c32ea28 commit 7a59ee3

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const { env } = process;
2121
const highWaterMark = +env.HIGH_WATER_MARK || 16384;
2222

2323
const wss = new WebSocket.Server({
24+
allowSynchronousEvents: true,
2425
maxPayload: +env.MAX_MESSAGE_SIZE || 64 * 1024,
2526
server
2627
});

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "Luigi Pinca",
1212
"license": "MIT",
1313
"dependencies": {
14-
"ws": "^8.14.1"
14+
"ws": "^8.16.0"
1515
},
1616
"devDependencies": {
1717
"eslint": "^8.49.0",

0 commit comments

Comments
 (0)