Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pac-proxy-agent

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pac-proxy-agent - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

11

./dist/index.js

@@ -179,3 +179,12 @@ "use strict";

// Direct connection to the destination endpoint
socket = secureEndpoint ? tls.connect(opts) : net.connect(opts);
if (secureEndpoint) {
const servername = opts.servername || opts.host;
socket = tls.connect({
...opts,
servername: (!servername || net.isIP(servername)) ? undefined : servername,
});
}
else {
socket = net.connect(opts);
}
}

@@ -182,0 +191,0 @@ else if (type === 'SOCKS' || type === 'SOCKS5') {

@@ -179,3 +179,12 @@ "use strict";

// Direct connection to the destination endpoint
socket = secureEndpoint ? tls.connect(opts) : net.connect(opts);
if (secureEndpoint) {
const servername = opts.servername || opts.host;
socket = tls.connect({
...opts,
servername: (!servername || net.isIP(servername)) ? undefined : servername,
});
}
else {
socket = net.connect(opts);
}
}

@@ -182,0 +191,0 @@ else if (type === 'SOCKS' || type === 'SOCKS5') {

2

package.json
{
"name": "pac-proxy-agent",
"version": "6.0.1",
"version": "6.0.2",
"description": "A PAC file proxy `http.Agent` implementation for HTTP",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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