Socket
Socket
Sign inDemoInstall

@types/http-proxy

Package Overview
Dependencies
3
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.12.4 to 1.16.0

10

http-proxy/index.d.ts

@@ -1,4 +0,4 @@

// Type definitions for node-http-proxy 1.12
// Type definitions for node-http-proxy 1.16
// Project: https://github.com/nodejitsu/node-http-proxy
// Definitions by: Maxime LUCE <https://github.com/SomaticIT>
// Definitions by: Maxime LUCE <https://github.com/SomaticIT>, Florian Oellerich <https://github.com/Raigen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -192,2 +192,4 @@

changeOrigin?: boolean;
/** specify whether you want to keep letter case of response header key */
preserveHeaderKeyCase?: boolean;
/** Basic authentication i.e. 'user:password' to compute an Authorization header. */

@@ -201,2 +203,6 @@ auth?: string;

protocolRewrite?: string;
/** rewrites domain of set-cookie headers. */
cookieDomainRewrite?: false | string | {[oldDomain: string]: string};
/** object with extra headers to be added to target requests. */
headers?: {[header: string]: string};
/** Timeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes) */

@@ -203,0 +209,0 @@ proxyTimeout?: number;

9

http-proxy/package.json
{
"name": "@types/http-proxy",
"version": "1.12.4",
"version": "1.16.0",
"description": "TypeScript definitions for node-http-proxy",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "SomaticIT"
},
{
"name": "Florian Oellerich",
"url": "https://github.com/Raigen",
"githubUsername": "Raigen"
}

@@ -24,4 +29,4 @@ ],

},
"typesPublisherContentHash": "ffe6908eac1eaa7045d4a22c77288cc796d9bdf3e97fa9e812e8528939d6b6c0",
"typesPublisherContentHash": "56a8c397f590a44dbd745999577d2478978459fd17da94bf913ba6b50dfc7b0c",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 29 Jan 2018 21:19:39 GMT
* Last updated: Thu, 15 Feb 2018 21:25:40 GMT
* Dependencies: net, http, https, events, url, stream, node

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>.
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Florian Oellerich <https://github.com/Raigen>.
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