Upgrade server dependencies

pull/1697/head
Chocobozzz 2019-02-21 14:22:39 +01:00
parent a975517c68
commit 374c1db98c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 1198 additions and 1024 deletions

View File

@ -95,7 +95,7 @@
"async": "^2.0.0", "async": "^2.0.0",
"async-lock": "^1.1.2", "async-lock": "^1.1.2",
"async-lru": "^1.1.1", "async-lru": "^1.1.1",
"bcrypt": "3.0.2", "bcrypt": "3.0.4",
"bittorrent-tracker": "^9.0.0", "bittorrent-tracker": "^9.0.0",
"bluebird": "^3.5.0", "bluebird": "^3.5.0",
"body-parser": "^1.12.4", "body-parser": "^1.12.4",
@ -119,11 +119,11 @@
"helmet": "^3.12.1", "helmet": "^3.12.1",
"http-signature": "^1.2.0", "http-signature": "^1.2.0",
"ip-anonymize": "^0.0.6", "ip-anonymize": "^0.0.6",
"ipaddr.js": "1.8.1", "ipaddr.js": "1.9.0",
"is-cidr": "^3.0.0", "is-cidr": "^3.0.0",
"iso-639-3": "^1.0.1", "iso-639-3": "^1.0.1",
"js-yaml": "^3.5.4", "js-yaml": "^3.5.4",
"jsonld": "^1.0.1", "jsonld": "~1.1.0",
"jsonld-signatures": "https://github.com/Chocobozzz/jsonld-signatures#rsa2017", "jsonld-signatures": "https://github.com/Chocobozzz/jsonld-signatures#rsa2017",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"magnet-uri": "^5.1.4", "magnet-uri": "^5.1.4",
@ -131,7 +131,7 @@
"morgan": "^1.5.3", "morgan": "^1.5.3",
"multer": "^1.1.0", "multer": "^1.1.0",
"netrc-parser": "^3.1.6", "netrc-parser": "^3.1.6",
"nodemailer": "^4.4.2", "nodemailer": "^5.1.1",
"parse-torrent": "^6.0.0", "parse-torrent": "^6.0.0",
"password-generator": "^2.0.2", "password-generator": "^2.0.2",
"pem": "^1.12.3", "pem": "^1.12.3",
@ -153,8 +153,8 @@
"uuid": "^3.1.0", "uuid": "^3.1.0",
"validator": "^10.2.0", "validator": "^10.2.0",
"webfinger.js": "^2.6.6", "webfinger.js": "^2.6.6",
"webtorrent": "^0.102.1", "webtorrent": "^0.103.0",
"winston": "3.1.0", "winston": "3.2.1",
"ws": "^6.0.0", "ws": "^6.0.0",
"youtube-dl": "^1.12.2" "youtube-dl": "^1.12.2"
}, },
@ -171,7 +171,7 @@
"@types/chai-xml": "^0.3.1", "@types/chai-xml": "^0.3.1",
"@types/config": "^0.0.34", "@types/config": "^0.0.34",
"@types/express": "^4.0.35", "@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/fluent-ffmpeg": "^2.1.8",
"@types/fs-extra": "^5.0.4", "@types/fs-extra": "^5.0.4",
"@types/libxmljs": "^0.18.0", "@types/libxmljs": "^0.18.0",
@ -192,7 +192,7 @@
"@types/sharp": "^0.21.0", "@types/sharp": "^0.21.0",
"@types/socket.io": "^2.1.2", "@types/socket.io": "^2.1.2",
"@types/supertest": "^2.0.3", "@types/supertest": "^2.0.3",
"@types/validator": "^9.4.0", "@types/validator": "^10.9.0",
"@types/webtorrent": "^0.98.4", "@types/webtorrent": "^0.98.4",
"@types/ws": "^6.0.0", "@types/ws": "^6.0.0",
"chai": "^4.1.1", "chai": "^4.1.1",
@ -202,14 +202,14 @@
"libxmljs": "0.19.5", "libxmljs": "0.19.5",
"lint-staged": "^8.0.4", "lint-staged": "^8.0.4",
"maildev": "^1.0.0-rc3", "maildev": "^1.0.0-rc3",
"marked-man": "^0.2.1", "marked-man": "^0.4.2",
"mocha": "^5.0.0", "mocha": "^6.0.0",
"nodemon": "^1.18.6", "nodemon": "^1.18.6",
"sass-lint": "^1.12.1", "sass-lint": "^1.12.1",
"source-map-support": "^0.5.0", "source-map-support": "^0.5.0",
"supertest": "^3.0.0", "supertest": "^3.0.0",
"swagger-cli": "^2.2.0", "swagger-cli": "^2.2.0",
"ts-node": "7.0.1", "ts-node": "8.0.2",
"tslint": "^5.7.0", "tslint": "^5.7.0",
"tslint-config-standard": "^8.0.1", "tslint-config-standard": "^8.0.1",
"typescript": "^3.1.6", "typescript": "^3.1.6",

View File

@ -47,14 +47,12 @@ const auditLogger = auditLoggerFactory('users')
const loginRateLimiter = new RateLimit({ const loginRateLimiter = new RateLimit({
windowMs: RATES_LIMIT.LOGIN.WINDOW_MS, windowMs: RATES_LIMIT.LOGIN.WINDOW_MS,
max: RATES_LIMIT.LOGIN.MAX, max: RATES_LIMIT.LOGIN.MAX
delayMs: 0
}) })
const askSendEmailLimiter = new RateLimit({ const askSendEmailLimiter = new RateLimit({
windowMs: RATES_LIMIT.ASK_SEND_EMAIL.WINDOW_MS, windowMs: RATES_LIMIT.ASK_SEND_EMAIL.WINDOW_MS,
max: RATES_LIMIT.ASK_SEND_EMAIL.MAX, max: RATES_LIMIT.ASK_SEND_EMAIL.MAX
delayMs: 0
}) })
const usersRouter = express.Router() const usersRouter = express.Router()

View File

@ -140,7 +140,7 @@ async function onVideoFileOptimizerSuccess (videoArg: VideoModel, payload: Video
let videoPublished = false let videoPublished = false
if (resolutionsEnabled.length !== 0) { 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) { for (const resolution of resolutionsEnabled) {
const dataInput = { const dataInput = {

2192
yarn.lock

File diff suppressed because it is too large Load Diff