New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

socks5-https-client

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socks5-https-client - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

index.js

@@ -27,2 +27,6 @@ /**

// Node v0.12.0 requires the port to be specified.
if (!options.port && options.host) {
options.port = options.host.split(':')[1];
}
if (!options.port) {

@@ -29,0 +33,0 @@ options.port = 443;

@@ -26,4 +26,9 @@ /**

options.socket = socksSocket.socket;
options.servername = options.hostname || options.host;
if (options.hostname) {
options.servername = options.hostname;
} else if (options.host) {
options.servername = options.host.split(':')[0];
}
socksSocket.socket = tls.connect(options, function() {

@@ -30,0 +35,0 @@

2

package.json
{
"name": "socks5-https-client",
"description": "SOCKS v5 HTTPS client.",
"version": "1.2.0",
"version": "1.2.1",
"main": "index.js",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/mattcg/socks5-https-client",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc