Update bittorrent-tracker and standard to v9
authorChocobozzz <florian.bigard@gmail.com>
Fri, 3 Mar 2017 17:45:40 +0000 (18:45 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 3 Mar 2017 17:45:40 +0000 (18:45 +0100)
22 files changed:
client/package.json
package.json
server/controllers/api/requests.js
server/controllers/api/videos.js
server/controllers/static.js
server/lib/base-request-scheduler.js
server/lib/request-scheduler.js
server/lib/request-video-event-scheduler.js
server/lib/request-video-qadu-scheduler.js
server/tests/api/check-params/pods.js
server/tests/api/check-params/remotes.js
server/tests/api/check-params/requests.js
server/tests/api/check-params/users.js
server/tests/api/check-params/video-abuses.js
server/tests/api/check-params/videos.js
server/tests/api/friends-advanced.js
server/tests/api/friends-basic.js
server/tests/api/multiple-pods.js
server/tests/api/requests.js
server/tests/api/single-pod.js
server/tests/api/users.js
server/tests/api/video-abuse.js

index 666a3f37d72995f26cd3b60f0301c9fd7cff2700..41189231f802a9f47930062eeafd0cfa3f1bf7f9 100644 (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"
   }
index 4197f919a42cba70c9aab26a7c25cb86f7783bdd..c4c56ebddcec5ee286576502f1c844d3c44750a0 100644 (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"
   },
index be352113e27a0f306d190d69f7ee33242e50400a..6fd5753ac5c69e1ff87952e62d9a6559f2c57d33 100644 (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
index d64ed4e4eeae7b87987ff469fd0a32b50d4b20a0..dfd8699e6163a73cc4956c127cae45a3f59c38dc 100644 (file)
@@ -443,4 +443,3 @@ function reportVideoAbuse (req, res, finalCallback) {
     return finalCallback(null)
   })
 }
-
index a91ff044d98f25f047e923d953d69477d5d5e63f..810b752af02d19e8fa3e85e80e7a67201479b4c9 100644 (file)
@@ -43,4 +43,3 @@ router.use(
 // ---------------------------------------------------------------------------
 
 module.exports = router
-
index 1c6b782970f68bdd818675927a6b1ead9fef9912..4709c7960fee4c97b05c0e377b1ee11e81b3be06 100644 (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
index 6b65355190f885d941fda8f527ded3c28e338da6..f6020e746c53494b35f62633661778d8841f2728 100644 (file)
@@ -6,7 +6,6 @@ const db = require('../initializers/database')
 const logger = require('../helpers/logger')
 
 module.exports = class RequestScheduler extends BaseRequestScheduler {
-
   constructor () {
     super()
 
index 5ea5631b02afa1b70dca4c541f8daeb090fffef1..f178df49ee4269e9903b59656268b0a17c65de6d 100644 (file)
@@ -5,7 +5,6 @@ const constants = require('../initializers/constants')
 const db = require('../initializers/database')
 
 module.exports = class RequestVideoEventScheduler extends BaseRequestScheduler {
-
   constructor () {
     super()
 
index 33b1c6d2863ff23a14a133c1c7186af7bd8ed38e..bfccc5234441b62ce7b12a9632e5dfd8ce48af01 100644 (file)
@@ -6,7 +6,6 @@ const db = require('../initializers/database')
 const logger = require('../helpers/logger')
 
 module.exports = class RequestVideoQaduScheduler extends BaseRequestScheduler {
-
   constructor () {
     super()
 
index 22cbdb30f7b190afd9e1ef920e38247e1c19ffeb..2567fff5ff3a518a180fd23d317d50a6953ab95f 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const request = require('supertest')
index f6a49d6e209b05bc6763c2e603c4d713a5103840..96361c64396ed0cd062ddcf2ae5a46d4ea340ba3 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const series = require('async/series')
index 08f58db4379b8dcb530666c9053dbfab5b9f177d..0ce5582d69920f6fe3e4c22e5fd4f4a4f72bbd01 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const request = require('supertest')
index debf63cf6892d2e391b41eba5871b65412c127f6..6edb546602d46c61b506fcc2a2ad1be0b0b0619c 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const request = require('supertest')
index 8cb4ccdc1aef6bf74e9ba9dbd8ef576a454980ea..7308637e29ee2312a566a3d9ebd304654d667b3c 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const request = require('supertest')
index fac9037154a73959daec1458fb9b94ce18b36c39..f8549a95b3c6e7eb8e97cb073421a6ad7ed6753b 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')
index 708138bc97b3011c98bb6f120f9deae9a9150cb9..15ca1a37c1f161c698fcbd0d22f414caee420ed3 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')
index 62c40df7b98cf15a489b23e32ee9cfc49d8f81d0..658e54829b62cf75ec92763637bede4847396873 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')
index 94b62e27aca03640596ce83b1ddecb2a4f6fd58d..e02b6180b48c153fd4013b4a19062d4d6ca3004d 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')
index 933ed29b466ee585c2291c01140bb250fb3cb3da..215c2a8f3ac4521257a88945f6edcfb3aea84ae2 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')
index 40c33686f6c207c7e6372e53ac4a6add2307ed19..87d0e9a71e6e9e09307236fe7ce3a5d764736f37 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')
index df075f48a8a9eedbbfd16d3673b3c970fdecb1cb..bd95e78c22e639188a31ad1fb94b4435136a5d0a 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')
index 58db17c42f670fd6923bc9c9e454882da2dc7953..0c43418604b30c1ac67582ad3f7707ecd2f4a15f 100644 (file)
@@ -1,3 +1,5 @@
+/* eslint-disable no-unused-expressions */
+
 'use strict'
 
 const chai = require('chai')