mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 20:21:36 +00:00
BREAKING: drop Node 8 support
This commit is contained in:
parent
770d57c549
commit
93b41391a9
@ -5,7 +5,6 @@ const once = require('once')
|
|||||||
const parallel = require('run-parallel')
|
const parallel = require('run-parallel')
|
||||||
const Peer = require('simple-peer')
|
const Peer = require('simple-peer')
|
||||||
const uniq = require('uniq')
|
const uniq = require('uniq')
|
||||||
const URL = require('url').URL
|
|
||||||
|
|
||||||
const common = require('./lib/common')
|
const common = require('./lib/common')
|
||||||
const HTTPTracker = require('./lib/client/http-tracker') // empty object in browser
|
const HTTPTracker = require('./lib/client/http-tracker') // empty object in browser
|
||||||
|
@ -5,7 +5,6 @@ const compact2string = require('compact2string')
|
|||||||
const debug = require('debug')('bittorrent-tracker:udp-tracker')
|
const debug = require('debug')('bittorrent-tracker:udp-tracker')
|
||||||
const dgram = require('dgram')
|
const dgram = require('dgram')
|
||||||
const randombytes = require('randombytes')
|
const randombytes = require('randombytes')
|
||||||
const URL = require('url').URL
|
|
||||||
|
|
||||||
const common = require('../common')
|
const common = require('../common')
|
||||||
const Tracker = require('./tracker')
|
const Tracker = require('./tracker')
|
||||||
|
13
package.json
13
package.json
@ -49,9 +49,8 @@
|
|||||||
"tape": "^4.0.0",
|
"tape": "^4.0.0",
|
||||||
"webtorrent-fixtures": "^1.3.0"
|
"webtorrent-fixtures": "^1.3.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"engines": {
|
||||||
"bufferutil": "^4.0.0",
|
"node": ">=10"
|
||||||
"utf-8-validate": "^5.0.1"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bittorrent",
|
"bittorrent",
|
||||||
@ -65,12 +64,16 @@
|
|||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"optionalDependencies": {
|
||||||
|
"bufferutil": "^4.0.0",
|
||||||
|
"utf-8-validate": "^5.0.1"
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/webtorrent/bittorrent-tracker.git"
|
"url": "git://github.com/webtorrent/bittorrent-tracker.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"update-authors": "./tools/update-authors.sh",
|
"test": "standard && tape test/*.js",
|
||||||
"test": "standard && tape test/*.js"
|
"update-authors": "./tools/update-authors.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user