mirror of https://github.com/Chocobozzz/PeerTube
Upgrade server dependencies
parent
a975517c68
commit
374c1db98c
22
package.json
22
package.json
|
@ -95,7 +95,7 @@
|
|||
"async": "^2.0.0",
|
||||
"async-lock": "^1.1.2",
|
||||
"async-lru": "^1.1.1",
|
||||
"bcrypt": "3.0.2",
|
||||
"bcrypt": "3.0.4",
|
||||
"bittorrent-tracker": "^9.0.0",
|
||||
"bluebird": "^3.5.0",
|
||||
"body-parser": "^1.12.4",
|
||||
|
@ -119,11 +119,11 @@
|
|||
"helmet": "^3.12.1",
|
||||
"http-signature": "^1.2.0",
|
||||
"ip-anonymize": "^0.0.6",
|
||||
"ipaddr.js": "1.8.1",
|
||||
"ipaddr.js": "1.9.0",
|
||||
"is-cidr": "^3.0.0",
|
||||
"iso-639-3": "^1.0.1",
|
||||
"js-yaml": "^3.5.4",
|
||||
"jsonld": "^1.0.1",
|
||||
"jsonld": "~1.1.0",
|
||||
"jsonld-signatures": "https://github.com/Chocobozzz/jsonld-signatures#rsa2017",
|
||||
"lodash": "^4.17.10",
|
||||
"magnet-uri": "^5.1.4",
|
||||
|
@ -131,7 +131,7 @@
|
|||
"morgan": "^1.5.3",
|
||||
"multer": "^1.1.0",
|
||||
"netrc-parser": "^3.1.6",
|
||||
"nodemailer": "^4.4.2",
|
||||
"nodemailer": "^5.1.1",
|
||||
"parse-torrent": "^6.0.0",
|
||||
"password-generator": "^2.0.2",
|
||||
"pem": "^1.12.3",
|
||||
|
@ -153,8 +153,8 @@
|
|||
"uuid": "^3.1.0",
|
||||
"validator": "^10.2.0",
|
||||
"webfinger.js": "^2.6.6",
|
||||
"webtorrent": "^0.102.1",
|
||||
"winston": "3.1.0",
|
||||
"webtorrent": "^0.103.0",
|
||||
"winston": "3.2.1",
|
||||
"ws": "^6.0.0",
|
||||
"youtube-dl": "^1.12.2"
|
||||
},
|
||||
|
@ -171,7 +171,7 @@
|
|||
"@types/chai-xml": "^0.3.1",
|
||||
"@types/config": "^0.0.34",
|
||||
"@types/express": "^4.0.35",
|
||||
"@types/express-rate-limit": "^2.9.3",
|
||||
"@types/express-rate-limit": "^3.3.0",
|
||||
"@types/fluent-ffmpeg": "^2.1.8",
|
||||
"@types/fs-extra": "^5.0.4",
|
||||
"@types/libxmljs": "^0.18.0",
|
||||
|
@ -192,7 +192,7 @@
|
|||
"@types/sharp": "^0.21.0",
|
||||
"@types/socket.io": "^2.1.2",
|
||||
"@types/supertest": "^2.0.3",
|
||||
"@types/validator": "^9.4.0",
|
||||
"@types/validator": "^10.9.0",
|
||||
"@types/webtorrent": "^0.98.4",
|
||||
"@types/ws": "^6.0.0",
|
||||
"chai": "^4.1.1",
|
||||
|
@ -202,14 +202,14 @@
|
|||
"libxmljs": "0.19.5",
|
||||
"lint-staged": "^8.0.4",
|
||||
"maildev": "^1.0.0-rc3",
|
||||
"marked-man": "^0.2.1",
|
||||
"mocha": "^5.0.0",
|
||||
"marked-man": "^0.4.2",
|
||||
"mocha": "^6.0.0",
|
||||
"nodemon": "^1.18.6",
|
||||
"sass-lint": "^1.12.1",
|
||||
"source-map-support": "^0.5.0",
|
||||
"supertest": "^3.0.0",
|
||||
"swagger-cli": "^2.2.0",
|
||||
"ts-node": "7.0.1",
|
||||
"ts-node": "8.0.2",
|
||||
"tslint": "^5.7.0",
|
||||
"tslint-config-standard": "^8.0.1",
|
||||
"typescript": "^3.1.6",
|
||||
|
|
|
@ -47,14 +47,12 @@ const auditLogger = auditLoggerFactory('users')
|
|||
|
||||
const loginRateLimiter = new RateLimit({
|
||||
windowMs: RATES_LIMIT.LOGIN.WINDOW_MS,
|
||||
max: RATES_LIMIT.LOGIN.MAX,
|
||||
delayMs: 0
|
||||
max: RATES_LIMIT.LOGIN.MAX
|
||||
})
|
||||
|
||||
const askSendEmailLimiter = new RateLimit({
|
||||
windowMs: RATES_LIMIT.ASK_SEND_EMAIL.WINDOW_MS,
|
||||
max: RATES_LIMIT.ASK_SEND_EMAIL.MAX,
|
||||
delayMs: 0
|
||||
max: RATES_LIMIT.ASK_SEND_EMAIL.MAX
|
||||
})
|
||||
|
||||
const usersRouter = express.Router()
|
||||
|
|
|
@ -140,7 +140,7 @@ async function onVideoFileOptimizerSuccess (videoArg: VideoModel, payload: Video
|
|||
let videoPublished = false
|
||||
|
||||
if (resolutionsEnabled.length !== 0) {
|
||||
const tasks: Bluebird<Bull.Job<any>>[] = []
|
||||
const tasks: (Bluebird<Bull.Job<any>> | Promise<Bull.Job<any>>)[] = []
|
||||
|
||||
for (const resolution of resolutionsEnabled) {
|
||||
const dataInput = {
|
||||
|
|
Loading…
Reference in New Issue