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

http-proxy

Package Overview
Dependencies
Maintainers
5
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-proxy - npm Package Compare versions

Comparing version 1.5.3 to 1.6.0

1

lib/http-proxy.js

@@ -43,2 +43,3 @@ var http = require('http'),

* localAddress : <Local interface string to bind for outgoing connections>
* changeOrigin: true/false, Default: false - changes the origin of the host header to the target URL>
* }

@@ -45,0 +46,0 @@ *

@@ -77,2 +77,6 @@ var common = exports,

if (options.changeOrigin) {
outgoing.headers.host = outgoing.host;
}
return outgoing;

@@ -79,0 +83,0 @@ };

2

package.json
{
"name" : "http-proxy",
"version" : "1.5.3",
"version" : "1.6.0",

@@ -5,0 +5,0 @@ "repository" : {

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