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

proxying-agent

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxying-agent - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

3

lib/proxying-agent.js

@@ -19,3 +19,2 @@ 'use strict';

this.options.port = this.options.proxy.port;
this.options.agent = http.globalAgent;

@@ -25,5 +24,7 @@ // select the Agent type to use based on the proxy protocol

this.agent = https.Agent;
this.options.agent = https.globalAgent;
this.options.port = this.options.port || 443;
} else {
this.agent = http.Agent;
this.options.agent = http.globalAgent;
this.options.port = this.options.port || 80;

@@ -30,0 +31,0 @@ }

{
"name": "proxying-agent",
"version": "0.1.1",
"version": "0.1.2",
"description": "Node HTTP/HTTPS Forward Proxy Agent",

@@ -5,0 +5,0 @@ "keywords": [

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