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

proxy-addr

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-addr - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

6

HISTORY.md

@@ -0,1 +1,7 @@

1.1.5 / 2017-07-25
==================
* Fix array argument being altered
* deps: ipaddr.js@1.4.0
1.1.4 / 2017-03-24

@@ -2,0 +8,0 @@ ==================

10

index.js

@@ -89,7 +89,9 @@ /*!

var trust = typeof val === 'string'
? [val]
: val;
var trust;
if (!Array.isArray(trust)) {
if (typeof val === 'string') {
trust = [val];
} else if (Array.isArray(val)) {
trust = val.slice();
} else {
throw new TypeError('unsupported trust argument');

@@ -96,0 +98,0 @@ }

6

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

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

"forwarded": "~0.1.0",
"ipaddr.js": "1.3.0"
"ipaddr.js": "1.4.0"
},
"devDependencies": {
"benchmark": "2.1.3",
"benchmark": "2.1.4",
"beautify-benchmark": "0.2.4",

@@ -21,0 +21,0 @@ "istanbul": "0.4.5",

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