Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 20, 2021

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

Compare Source

v2.6.0

Compare Source

Adds support for custom auth methods.

v2.5.1

Compare Source

v2.5.0

Compare Source

Changed behavior of createConnection/createConnectionChain option validation to where errors are surfaced via callback (if provided), or through promise rejection.

v2.4.4

Compare Source

v2.4.3

Compare Source

v2.4.2

Compare Source

v2.4.1

Compare Source

v2.4.0

Compare Source

v2.3.3

Compare Source

v2.3.2

Compare Source

v2.3.1

Compare Source

  • 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':

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'

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:

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

Compare Source

v2.2.3

Compare Source

v2.2.2

Compare Source

This release fixes an issue where socks would throw an error on Electron.

v2.2.1

Compare Source

v2.2.0

Compare Source

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

Compare Source

This fixes an issue with the 'receivebuffer' import.

v2.1.5

Compare Source

Fixes incoming data flow issues. It's highly recommended to upgrade to this version if you're using 2.x.x

v2.1.4

Compare Source

v2.1.3

Compare Source

v2.1.2

Compare Source

v2.1.1

Compare Source

v2.1.0

Compare Source

v2.0.5

Compare Source

v2.0.4

Compare Source

v2.0.3

Compare Source

v2.0.2

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source


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.


  • If you want to rebase/retry this PR, check this box.

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

@DiegoRBaquero
Copy link
Member

Node 10+ support only, this is fine.

@alxhotel alxhotel merged commit 353e1f4 into master Sep 2, 2021
@alxhotel alxhotel deleted the renovate_socks-2.x branch September 2, 2021 11:40
webtorrent-bot pushed a commit that referenced this pull request Sep 2, 2021
## [9.18.2](v9.18.1...v9.18.2) (2021-09-02)

### Bug Fixes

* **deps:** update dependency socks to v2 ([#394](#394)) ([353e1f4](353e1f4))
@webtorrent-bot
Copy link

🎉 This PR is included in version 9.18.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants