Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
"poolifier": "^2.6.23"
},
"devDependencies": {
- "@types/node": "^20.4.9",
+ "@types/node": "^20.4.10",
"typescript": "^5.1.6"
}
}
devDependencies:
'@types/node':
- specifier: ^20.4.9
- version: 20.4.9
+ specifier: ^20.4.10
+ version: 20.4.10
typescript:
specifier: ^5.1.6
version: 5.1.6
packages:
- /@types/node@20.4.9:
- resolution: {integrity: sha512-8e2HYcg7ohnTUbHk8focoklEQYvemQmu9M/f43DZVx43kHn0tE3BY/6gSDxS7k0SprtS0NHvj+L80cGLnoOUcQ==}
+ /@types/node@20.4.10:
+ resolution: {integrity: sha512-vwzFiiy8Rn6E0MtA13/Cxxgpan/N6UeNYR9oUu6kuJWxu6zCk98trcDp8CBhbtaeuq9SykCmXkFr2lWLoPcvLg==}
dev: true
/asynckit@0.4.0:
"ws": "^8.13.0"
},
"devDependencies": {
- "@types/node": "^20.4.9",
+ "@types/node": "^20.4.10",
"@types/ws": "^8.5.5",
"typescript": "^5.1.6"
},
devDependencies:
'@types/node':
- specifier: ^20.4.9
+ specifier: ^20.4.10
version: 20.4.10
'@types/ws':
specifier: ^8.5.5
wss.on('connection', ws => {
ws.on('error', console.error)
-
ws.on('message', (message: RawData) => {
const { type, data } = JSON.parse(
// eslint-disable-next-line @typescript-eslint/no-base-to-string