Update bittorrent-tracker and standard to v9
This commit is contained in:
parent
99fdec4648
commit
72329aaa28
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -443,4 +443,3 @@ function reportVideoAbuse (req, res, finalCallback) {
|
|||
return finalCallback(null)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -43,4 +43,3 @@ router.use(
|
|||
// ---------------------------------------------------------------------------
|
||||
|
||||
module.exports = router
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,7 +6,6 @@ const db = require('../initializers/database')
|
|||
const logger = require('../helpers/logger')
|
||||
|
||||
module.exports = class RequestScheduler extends BaseRequestScheduler {
|
||||
|
||||
constructor () {
|
||||
super()
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ const constants = require('../initializers/constants')
|
|||
const db = require('../initializers/database')
|
||||
|
||||
module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler {
|
||||
|
||||
constructor () {
|
||||
super()
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ const db = require('../initializers/database')
|
|||
const logger = require('../helpers/logger')
|
||||
|
||||
module.exports = class RequestVideoQaduScheduler extends BaseRequestScheduler {
|
||||
|
||||
constructor () {
|
||||
super()
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const request = require('supertest')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const series = require('async/series')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const request = require('supertest')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const request = require('supertest')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const request = require('supertest')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-unused-expressions */
|
||||
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
|
|
Loading…
Reference in New Issue