mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Bump ws from 8.15.1 to 8.16.0 (#20905)
* Bump ws from 8.15.1 to 8.16.0 Bumps [ws](https://github.com/websockets/ws) from 8.15.1 to 8.16.0. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/8.15.1...8.16.0) --- updated-dependencies: - dependency-name: ws dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Disable new autoPong feature --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
This commit is contained in:
@@ -166,7 +166,7 @@
|
||||
"uuid": "9.0.1",
|
||||
"uuid-validate": "0.0.3",
|
||||
"wellknown": "0.5.0",
|
||||
"ws": "8.15.1",
|
||||
"ws": "8.16.0",
|
||||
"zod": "3.22.4",
|
||||
"zod-validation-error": "2.1.0"
|
||||
},
|
||||
|
||||
@@ -42,7 +42,12 @@ export default abstract class SocketController {
|
||||
private authInterval: NodeJS.Timeout | null;
|
||||
|
||||
constructor(httpServer: httpServer, configPrefix: string) {
|
||||
this.server = new WebSocketServer({ noServer: true });
|
||||
this.server = new WebSocketServer({
|
||||
noServer: true,
|
||||
// @ts-ignore TODO Remove once @types/ws has been updated
|
||||
autoPong: false,
|
||||
});
|
||||
|
||||
this.clients = new Set();
|
||||
this.authInterval = null;
|
||||
|
||||
|
||||
14
pnpm-lock.yaml
generated
14
pnpm-lock.yaml
generated
@@ -342,8 +342,8 @@ importers:
|
||||
specifier: 0.5.0
|
||||
version: 0.5.0
|
||||
ws:
|
||||
specifier: 8.15.1
|
||||
version: 8.15.1
|
||||
specifier: 8.16.0
|
||||
version: 8.16.0
|
||||
zod:
|
||||
specifier: 3.22.4
|
||||
version: 3.22.4
|
||||
@@ -2090,8 +2090,8 @@ importers:
|
||||
specifier: 1.1.1
|
||||
version: 1.1.1(happy-dom@12.10.3)(sass@1.69.5)
|
||||
ws:
|
||||
specifier: 8.15.1
|
||||
version: 8.15.1
|
||||
specifier: 8.16.0
|
||||
version: 8.16.0
|
||||
|
||||
packages:
|
||||
|
||||
@@ -12765,7 +12765,7 @@ packages:
|
||||
whatwg-encoding: 2.0.0
|
||||
whatwg-mimetype: 3.0.0
|
||||
whatwg-url: 11.0.0
|
||||
ws: 8.15.1
|
||||
ws: 8.16.0
|
||||
xml-name-validator: 4.0.0
|
||||
transitivePeerDependencies:
|
||||
- bufferutil
|
||||
@@ -19743,8 +19743,8 @@ packages:
|
||||
optional: true
|
||||
dev: true
|
||||
|
||||
/ws@8.15.1:
|
||||
resolution: {integrity: sha512-W5OZiCjXEmk0yZ66ZN82beM5Sz7l7coYxpRkzS+p9PP+ToQry8szKh+61eNktr7EA9DOwvFGhfC605jDHbP6QQ==}
|
||||
/ws@8.16.0:
|
||||
resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
peerDependencies:
|
||||
bufferutil: ^4.0.1
|
||||
|
||||
@@ -34,6 +34,6 @@
|
||||
"uuid": "9.0.1",
|
||||
"vite-tsconfig-paths": "4.2.2",
|
||||
"vitest": "1.1.1",
|
||||
"ws": "8.15.1"
|
||||
"ws": "8.16.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user