webtorrent / bittorrent-tracker

🌊 Simple, robust, BitTorrent tracker (client & server) implementation
https://webtorrent.io
MIT License
1.75k stars 317 forks source link

fix(deps): update dependency socks to v2 #394

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
socks ^1.1.9 -> ^2.0.0 age adoption passing confidence

Release Notes

JoshGlazebrook/socks ### [`v2.6.1`](https://togithub.com/JoshGlazebrook/socks/compare/2.6.0...2.6.1) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.6.0...2.6.1) ### [`v2.6.0`](https://togithub.com/JoshGlazebrook/socks/releases/2.6.0) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.5.1...2.6.0) Adds support for custom auth methods. ### [`v2.5.1`](https://togithub.com/JoshGlazebrook/socks/compare/2.5.0...2.5.1) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.5.0...2.5.1) ### [`v2.5.0`](https://togithub.com/JoshGlazebrook/socks/releases/2.5.0) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/0745f63d6885635b108c5dc143600ffce38ab04f...2.5.0) Changed behavior of createConnection/createConnectionChain option validation to where errors are surfaced via callback (if provided), or through promise rejection. ### [`v2.4.4`](https://togithub.com/JoshGlazebrook/socks/compare/6fa885089d8354802445c7d88e4ba3d131dc889b...0745f63d6885635b108c5dc143600ffce38ab04f) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/6fa885089d8354802445c7d88e4ba3d131dc889b...0745f63d6885635b108c5dc143600ffce38ab04f) ### [`v2.4.3`](https://togithub.com/JoshGlazebrook/socks/compare/5eee806825d72c35d53cbae1b8835d1b9c0ac19d...6fa885089d8354802445c7d88e4ba3d131dc889b) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/5eee806825d72c35d53cbae1b8835d1b9c0ac19d...6fa885089d8354802445c7d88e4ba3d131dc889b) ### [`v2.4.2`](https://togithub.com/JoshGlazebrook/socks/compare/0a4ead6d5a5240d77f23cf779d43a8ff287401d2...5eee806825d72c35d53cbae1b8835d1b9c0ac19d) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/0a4ead6d5a5240d77f23cf779d43a8ff287401d2...5eee806825d72c35d53cbae1b8835d1b9c0ac19d) ### [`v2.4.1`](https://togithub.com/JoshGlazebrook/socks/compare/f1276cf96bc72f162324121abcb1ed49eb28d551...0a4ead6d5a5240d77f23cf779d43a8ff287401d2) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/f1276cf96bc72f162324121abcb1ed49eb28d551...0a4ead6d5a5240d77f23cf779d43a8ff287401d2) ### [`v2.4.0`](https://togithub.com/JoshGlazebrook/socks/compare/2.3.3...f1276cf96bc72f162324121abcb1ed49eb28d551) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.3.3...f1276cf96bc72f162324121abcb1ed49eb28d551) ### [`v2.3.3`](https://togithub.com/JoshGlazebrook/socks/compare/0416f3f316ed25c5a1d723c3a0815b727890f194...2.3.3) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/0416f3f316ed25c5a1d723c3a0815b727890f194...2.3.3) ### [`v2.3.2`](https://togithub.com/JoshGlazebrook/socks/compare/2.3.1...0416f3f316ed25c5a1d723c3a0815b727890f194) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.3.1...0416f3f316ed25c5a1d723c3a0815b727890f194) ### [`v2.3.1`](https://togithub.com/JoshGlazebrook/socks/releases/2.3.1) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/3bb2214ed4e673df0d82daa5f9744c3538c44f5b...2.3.1) - When creating connections, 'ipaddress' can now be a hostname (proxyserver1.com for example) - 'host' property added to proxy config, this is intended to replace 'ipaddress'. **(ipaddress remains for backwards compatibility)** The following are equivalent: Using 'ipaddress': ```typescript const options = { proxy: { ipaddress: '159.203.75.200', // ipv4 or ipv6 or hostname port: 1080, type: 5 // Proxy version (4 or 5) }, command: 'connect', // SOCKS command (createConnection factory function only supports the connect command) destination: { host: '192.30.253.113', // github.com (hostname lookups are supported with SOCKS v4a and 5) port: 80 } }; ``` Using 'host' ```typescript const options = { proxy: { host: '159.203.75.200', // ipv4 or ipv6 or hostname port: 1080, type: 5 // Proxy version (4 or 5) }, command: 'connect', // SOCKS command (createConnection factory function only supports the connect command) destination: { host: '192.30.253.113', // github.com (hostname lookups are supported with SOCKS v4a and 5) port: 80 } }; ``` Hostnames are now allowed: ```typwscript const options = { proxy: { host: 'proxy1.proxyservers.com', // ipv4 or ipv6 or hostname port: 1080, type: 5 // Proxy version (4 or 5) }, command: 'connect', // SOCKS command (createConnection factory function only supports the connect command) destination: { host: '192.30.253.113', // github.com (hostname lookups are supported with SOCKS v4a and 5) port: 80 } }; ``` ### [`v2.3.0`](https://togithub.com/JoshGlazebrook/socks/compare/d7f91b7bf58c6f80755b356e7777db6b75adff52...3bb2214ed4e673df0d82daa5f9744c3538c44f5b) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/d7f91b7bf58c6f80755b356e7777db6b75adff52...3bb2214ed4e673df0d82daa5f9744c3538c44f5b) ### [`v2.2.3`](https://togithub.com/JoshGlazebrook/socks/compare/2.2.2...d7f91b7bf58c6f80755b356e7777db6b75adff52) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.2.2...d7f91b7bf58c6f80755b356e7777db6b75adff52) ### [`v2.2.2`](https://togithub.com/JoshGlazebrook/socks/releases/2.2.2) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.2.1...2.2.2) This release fixes an issue where socks would throw an error on Electron. ### [`v2.2.1`](https://togithub.com/JoshGlazebrook/socks/compare/2.2.0...2.2.1) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.2.0...2.2.1) ### [`v2.2.0`](https://togithub.com/JoshGlazebrook/socks/releases/2.2.0) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.1.6...2.2.0) #### Changes - Internally we now reference the socket as a duplex stream. Since (Socket instanceof Duplex === true) this shouldn't break anything, but you can now pass in a Duplex as existing_socket (if you're using this for some reason). ### [`v2.1.6`](https://togithub.com/JoshGlazebrook/socks/releases/2.1.6) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.1.5...2.1.6) This fixes an issue with the 'receivebuffer' import. ### [`v2.1.5`](https://togithub.com/JoshGlazebrook/socks/releases/2.1.5) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/bf6d6c491db756988e79faa61c9506d5f08e72cb...2.1.5) Fixes incoming data flow issues. It's highly recommended to upgrade to this version if you're using 2.x.x ### [`v2.1.4`](https://togithub.com/JoshGlazebrook/socks/compare/923beeca53f0c67cad008c8ac7fcc8bf8ebb11ea...bf6d6c491db756988e79faa61c9506d5f08e72cb) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/923beeca53f0c67cad008c8ac7fcc8bf8ebb11ea...bf6d6c491db756988e79faa61c9506d5f08e72cb) ### [`v2.1.3`](https://togithub.com/JoshGlazebrook/socks/compare/2.1.2...923beeca53f0c67cad008c8ac7fcc8bf8ebb11ea) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.1.2...923beeca53f0c67cad008c8ac7fcc8bf8ebb11ea) ### [`v2.1.2`](https://togithub.com/JoshGlazebrook/socks/compare/2.1.1...2.1.2) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/2.1.1...2.1.2) ### [`v2.1.1`](https://togithub.com/JoshGlazebrook/socks/compare/4109669e9bdc7ff05ce6b3952113cc74bf6d5a57...2.1.1) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/4109669e9bdc7ff05ce6b3952113cc74bf6d5a57...2.1.1) ### [`v2.1.0`](https://togithub.com/JoshGlazebrook/socks/compare/0bdc551c97540c315ce6de9b6324e3cee4b00313...4109669e9bdc7ff05ce6b3952113cc74bf6d5a57) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/0bdc551c97540c315ce6de9b6324e3cee4b00313...4109669e9bdc7ff05ce6b3952113cc74bf6d5a57) ### [`v2.0.5`](https://togithub.com/JoshGlazebrook/socks/compare/3a6f7ab4ac71ecc5109cf2c86faa8c1206dba656...0bdc551c97540c315ce6de9b6324e3cee4b00313) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/3a6f7ab4ac71ecc5109cf2c86faa8c1206dba656...0bdc551c97540c315ce6de9b6324e3cee4b00313) ### [`v2.0.4`](https://togithub.com/JoshGlazebrook/socks/compare/7aea005abc622a3e149ec864f745a8bf219d412e...3a6f7ab4ac71ecc5109cf2c86faa8c1206dba656) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/7aea005abc622a3e149ec864f745a8bf219d412e...3a6f7ab4ac71ecc5109cf2c86faa8c1206dba656) ### [`v2.0.3`](https://togithub.com/JoshGlazebrook/socks/compare/7aea005abc622a3e149ec864f745a8bf219d412e...7aea005abc622a3e149ec864f745a8bf219d412e) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/7aea005abc622a3e149ec864f745a8bf219d412e...7aea005abc622a3e149ec864f745a8bf219d412e) ### [`v2.0.2`](https://togithub.com/JoshGlazebrook/socks/compare/7aea005abc622a3e149ec864f745a8bf219d412e...7aea005abc622a3e149ec864f745a8bf219d412e) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/7aea005abc622a3e149ec864f745a8bf219d412e...7aea005abc622a3e149ec864f745a8bf219d412e) ### [`v2.0.1`](https://togithub.com/JoshGlazebrook/socks/compare/98956c24adb1962c7f4a47c93759ffa6fdccf684...7aea005abc622a3e149ec864f745a8bf219d412e) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/98956c24adb1962c7f4a47c93759ffa6fdccf684...7aea005abc622a3e149ec864f745a8bf219d412e) ### [`v2.0.0`](https://togithub.com/JoshGlazebrook/socks/compare/1.1.10...98956c24adb1962c7f4a47c93759ffa6fdccf684) [Compare Source](https://togithub.com/JoshGlazebrook/socks/compare/1.1.10...98956c24adb1962c7f4a47c93759ffa6fdccf684)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

DiegoRBaquero commented 3 years ago

Node 10+ support only, this is fine.

webtorrent-bot commented 3 years ago

:tada: This PR is included in version 9.18.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: