bittorrent-tracker/package.json
Alex ad64dc3a68
feat: add proxy support for tracker clients (#356)
* Add a httpAgent options to http and websocket client trackers.

* Add a socks proxy to udp client trackers.

* Update http agent mock to node 5+

* Bugfix in socks configuration

* Use new socket to connect to the proxy relay and slice the proxy header from the message

* Add documentation for proxy

* Provide http and https agents for proxy.
Change proxy options structure and auto populate socks HTTP agents.

* Update documentation

* Check socks version for UDP proxy

* Clone proxy settings to prevent Socks instances concurrency

* Generate socks http agents on the fly (reuse is not working)

* Use clone to deepcopy socks opts

* Dont create agent for now since we cannot reuse it between requests.

* Removed unused require

* Add .gitignore

* Fix merge conflict

* Fix URL toString

* Fix new Socket constructor

Co-authored-by: Yoann Ciabaud <yoann@sonora.io>
2021-08-20 16:08:36 -05:00

112 lines
2.5 KiB
JSON

{
"name": "bittorrent-tracker",
"description": "Simple, robust, BitTorrent tracker (client & server) implementation",
"version": "9.17.4",
"author": {
"name": "WebTorrent LLC",
"email": "feross@webtorrent.io",
"url": "https://webtorrent.io"
},
"bin": {
"bittorrent-tracker": "./bin/cmd.js"
},
"browser": {
"./lib/common-node.js": false,
"./lib/client/http-tracker.js": false,
"./lib/client/udp-tracker.js": false,
"./server.js": false,
"socks": false
},
"chromeapp": {
"./server.js": false,
"dgram": "chrome-dgram"
},
"bugs": {
"url": "https://github.com/webtorrent/bittorrent-tracker/issues"
},
"dependencies": {
"bencode": "^2.0.1",
"bittorrent-peerid": "^1.3.3",
"bn.js": "^5.2.0",
"chrome-dgram": "^3.0.6",
"clone": "^1.0.2",
"compact2string": "^1.4.1",
"debug": "^4.1.1",
"ip": "^1.1.5",
"lru": "^3.1.0",
"minimist": "^1.2.5",
"once": "^1.4.0",
"queue-microtask": "^1.2.3",
"random-iterate": "^1.0.1",
"randombytes": "^2.1.0",
"run-parallel": "^1.2.0",
"run-series": "^1.1.9",
"simple-get": "^4.0.0",
"simple-peer": "^9.11.0",
"simple-websocket": "^9.1.0",
"socks": "^1.1.9",
"string2compact": "^1.3.0",
"unordered-array-remove": "^1.0.2",
"ws": "^7.4.5"
},
"devDependencies": {
"@webtorrent/semantic-release-config": "1.0.5",
"magnet-uri": "6.2.0",
"semantic-release": "17.4.5",
"standard": "*",
"tape": "5.3.1",
"webtorrent-fixtures": "1.7.5",
"wrtc": "0.4.7"
},
"engines": {
"node": ">=12"
},
"keywords": [
"bittorrent",
"p2p",
"peer",
"peer-to-peer",
"stream",
"torrent",
"tracker",
"wire"
],
"license": "MIT",
"main": "index.js",
"optionalDependencies": {
"bufferutil": "^4.0.3",
"utf-8-validate": "^5.0.5"
},
"repository": {
"type": "git",
"url": "git://github.com/webtorrent/bittorrent-tracker.git"
},
"scripts": {
"preversion": "npm run update-authors",
"test": "standard && tape test/*.js",
"update-authors": "./tools/update-authors.sh"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"renovate": {
"extends": [
"github>webtorrent/renovate-config"
]
},
"release": {
"extends": "@webtorrent/semantic-release-config"
}
}