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 0.2.1 to 0.2.2

8

lib/Agent.js

@@ -25,5 +25,11 @@ /**

socksSocket.handleSocksConnectToHost = function() {
var verifyHost;
if (options.rejectUnauthorized !== false) {
verifyHost = options.hostname;
}
starttls({
socket: socksSocket.socket,
host: options.hostname
host: verifyHost
}, function(err) {

@@ -30,0 +36,0 @@ var clearText;

2

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

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

@@ -10,3 +10,7 @@ # SOCKS5 HTTPS Client #

shttps.get('https://encrypted.google.com/', function(res) {
shttps.get({
hostname: 'encrypted.google.com',
path: '/',
rejectUnauthorized: false
}, function(res) {
res.setEncoding('utf8');

@@ -13,0 +17,0 @@ res.on('readable', function() {

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