Socket
Socket
Sign inDemoInstall

socks-proxy-agent

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socks-proxy-agent - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

yarn.lock

4

index.js

@@ -134,4 +134,4 @@ /**

if (proxy.authentication) {
options.proxy.authentication = proxy.authentication;
options.proxy.userid = proxy.userid;
options.proxy.userId = proxy.userid;
options.proxy.password = proxy.authentication.password;
}

@@ -138,0 +138,0 @@

{
"name": "socks-proxy-agent",
"version": "4.0.1",
"version": "4.0.2",
"description": "A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS",

@@ -28,4 +28,4 @@ "main": "./index.js",

"dependencies": {
"agent-base": "~4.2.0",
"socks": "~2.2.0"
"agent-base": "~4.2.1",
"socks": "~2.3.2"
},

@@ -32,0 +32,0 @@ "devDependencies": {

@@ -69,4 +69,3 @@ socks-proxy-agent

// create an instance of the `SocksProxyAgent` class with the proxy server information
// NOTE: the `true` second argument! Means to use TLS encryption on the socket
var agent = new SocksProxyAgent(proxy, true);
var agent = new SocksProxyAgent(proxy);
opts.agent = agent;

@@ -73,0 +72,0 @@

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