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

proxy-middleware

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-middleware - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

2

index.js

@@ -55,3 +55,3 @@ var os = require('os');

// Fix the location
if (statusCode > 300 && statusCode < 304 && location.indexOf(options.href) > -1) {
if (statusCode > 300 && statusCode < 304 && location && location.indexOf(options.href) > -1) {
// absoulte path

@@ -58,0 +58,0 @@ headers.location = location.replace(options.href, slashJoin('', slashJoin((options.route || ''), '')));

{
"name": "proxy-middleware",
"version": "0.11.0",
"version": "0.11.1",
"description": "http(s) proxy as connect middleware",

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

@@ -1,2 +0,2 @@

[![Build Status](https://secure.travis-ci.org/andrewrk/connect-proxy.png)](http://travis-ci.org/andrewrk/connect-proxy)
[![Build Status](https://secure.travis-ci.org/andrewrk/node-proxy-middleware.png)](http://travis-ci.org/andrewrk/node-proxy-middleware)

@@ -3,0 +3,0 @@ ### Usage:

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