Socket
Socket
Sign inDemoInstall

proxy-addr

Package Overview
Dependencies
2
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

5

HISTORY.md

@@ -0,1 +1,6 @@

1.1.1 / 2016-05-03
==================
* Fix regression matching mixed versions against multiple subnets
1.1.0 / 2016-05-01

@@ -2,0 +7,0 @@ ==================

11

index.js

@@ -269,6 +269,9 @@ /*!

// Convert IP to match subnet IP kind
ipconv = ipconv || subnetkind === 'ipv4'
? ip.toIPv4Address()
: ip.toIPv4MappedAddress();
if (!ipconv) {
// Convert IP to match subnet IP kind
ipconv = subnetkind === 'ipv4'
? ip.toIPv4Address()
: ip.toIPv4MappedAddress();
}
trusted = ipconv;

@@ -275,0 +278,0 @@ }

{
"name": "proxy-addr",
"description": "Determine address of proxied request",
"version": "1.1.0",
"version": "1.1.1",
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc