BREAKING: drop Node 8 support

This commit is contained in:
Feross Aboukhadijeh 2019-08-05 14:54:20 -07:00
parent 770d57c549
commit 93b41391a9
3 changed files with 8 additions and 7 deletions

View File

@ -5,7 +5,6 @@ const once = require('once')
const parallel = require('run-parallel')
const Peer = require('simple-peer')
const uniq = require('uniq')
const URL = require('url').URL
const common = require('./lib/common')
const HTTPTracker = require('./lib/client/http-tracker') // empty object in browser

View File

@ -5,7 +5,6 @@ const compact2string = require('compact2string')
const debug = require('debug')('bittorrent-tracker:udp-tracker')
const dgram = require('dgram')
const randombytes = require('randombytes')
const URL = require('url').URL
const common = require('../common')
const Tracker = require('./tracker')

View File

@ -49,9 +49,8 @@
"tape": "^4.0.0",
"webtorrent-fixtures": "^1.3.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.0",
"utf-8-validate": "^5.0.1"
"engines": {
"node": ">=10"
},
"keywords": [
"bittorrent",
@ -65,12 +64,16 @@
],
"license": "MIT",
"main": "index.js",
"optionalDependencies": {
"bufferutil": "^4.0.0",
"utf-8-validate": "^5.0.1"
},
"repository": {
"type": "git",
"url": "git://github.com/webtorrent/bittorrent-tracker.git"
},
"scripts": {
"update-authors": "./tools/update-authors.sh",
"test": "standard && tape test/*.js"
"test": "standard && tape test/*.js",
"update-authors": "./tools/update-authors.sh"
}
}