Update bittorrent-tracker and standard to v9

pull/61/head
Chocobozzz 2017-03-03 18:45:40 +01:00
parent 99fdec4648
commit 72329aaa28
22 changed files with 29 additions and 10 deletions

View File

@ -88,7 +88,7 @@
"devDependencies": {
"add-asset-html-webpack-plugin": "^1.0.2",
"codelyzer": "^2.0.0",
"standard": "^8.0.0",
"standard": "^9.0.0",
"webpack-bundle-analyzer": "^2.2.1",
"webpack-dll-bundles-plugin": "^1.0.0-beta.5"
}

View File

@ -41,7 +41,7 @@
"dependencies": {
"async": "^2.0.0",
"bcrypt": "^1.0.2",
"bittorrent-tracker": "^8.0.0",
"bittorrent-tracker": "^9.0.0",
"body-parser": "^1.12.4",
"concurrently": "^3.1.0",
"config": "^1.14.0",
@ -77,7 +77,7 @@
"chai": "^3.3.0",
"commander": "^2.9.0",
"mocha": "^3.0.1",
"standard": "^8.0.0",
"standard": "^9.0.0",
"supertest": "^3.0.0",
"webtorrent": "^0.98.0"
},

View File

@ -3,7 +3,6 @@
const express = require('express')
const parallel = require('async/parallel')
const constants = require('../../initializers/constants')
const friends = require('../../lib/friends')
const middlewares = require('../../middlewares')
const admin = middlewares.admin

View File

@ -443,4 +443,3 @@ function reportVideoAbuse (req, res, finalCallback) {
return finalCallback(null)
})
}

View File

@ -43,4 +43,3 @@ router.use(
// ---------------------------------------------------------------------------
module.exports = router

View File

@ -8,7 +8,6 @@ const logger = require('../helpers/logger')
const requests = require('../helpers/requests')
module.exports = class BaseRequestScheduler {
constructor (options) {
this.lastRequestTimestamp = 0
this.timer = null

View File

@ -6,7 +6,6 @@ const db = require('../initializers/database')
const logger = require('../helpers/logger')
module.exports = class RequestScheduler extends BaseRequestScheduler {
constructor () {
super()

View File

@ -5,7 +5,6 @@ const constants = require('../initializers/constants')
const db = require('../initializers/database')
module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler {
constructor () {
super()

View File

@ -6,7 +6,6 @@ const db = require('../initializers/database')
const logger = require('../helpers/logger')
module.exports = class RequestVideoQaduScheduler extends BaseRequestScheduler {
constructor () {
super()

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const request = require('supertest')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const series = require('async/series')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const request = require('supertest')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const request = require('supertest')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const request = require('supertest')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')

View File

@ -1,3 +1,5 @@
/* eslint-disable no-unused-expressions */
'use strict'
const chai = require('chai')