Update server dependencies

This commit is contained in:
Chocobozzz 2021-08-06 15:51:45 +02:00
parent 99c05b3dcc
commit 31aa391d13
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 429 additions and 314 deletions

View File

@ -86,7 +86,7 @@
"config": "^3.0.0",
"cookie-parser": "^1.4.3",
"cors": "^2.8.1",
"create-torrent": "^4.0.0",
"create-torrent": "^5.0.0",
"decache": "^4.6.0",
"deep-object-diff": "^1.1.0",
"email-templates": "^8.0.3",
@ -142,7 +142,7 @@
"webfinger.js": "^2.6.6",
"webtorrent": "^1.0.0",
"winston": "3.3.3",
"ws": "^7.0.0",
"ws": "^8.0.0",
"youtube-dl": "^3.0.2"
},
"devDependencies": {
@ -168,7 +168,7 @@
"@types/maildev": "^0.0.3",
"@types/memoizee": "^0.4.2",
"@types/mkdirp": "^1.0.0",
"@types/mocha": "^8.0.3",
"@types/mocha": "^9.0.0",
"@types/morgan": "^1.7.32",
"@types/multer": "^1.3.3",
"@types/node": "^14.14.31",

View File

@ -109,7 +109,8 @@ function createWebsocketTrackerServer (app: express.Application) {
return
}
return wss.handleUpgrade(request, socket, head, ws => wss.emit('connection', ws, request))
// FIXME: typings
return wss.handleUpgrade(request, socket as any, head, ws => wss.emit('connection', ws, request))
})
.catch(err => logger.error('Cannot check if tracker block ip exists.', { err }))
}

734
yarn.lock

File diff suppressed because it is too large Load Diff