Socket
Socket
Sign inDemoInstall

http-proxy-agent

Package Overview
Dependencies
4
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 5.0.0

6

dist/agent.js

@@ -21,3 +21,3 @@ "use strict";

const agent_base_1 = require("agent-base");
const debug = debug_1.default('http-proxy-agent');
const debug = (0, debug_1.default)('http-proxy-agent');
function isHTTPS(protocol) {

@@ -90,3 +90,3 @@ return typeof protocol === 'string' ? /^https:?$/i.test(protocol) : false;

// ":80" portion is not on the produced URL
delete parsed.port;
parsed.port = '';
}

@@ -141,3 +141,3 @@ // Change the `http.ClientRequest` instance's "path" field

// connection via the `callback()` function throwing.
yield once_1.default(socket, 'connect');
yield (0, once_1.default)(socket, 'connect');
return socket;

@@ -144,0 +144,0 @@ });

{
"name": "http-proxy-agent",
"version": "4.0.1",
"version": "5.0.0",
"description": "An HTTP(s) proxy `http.Agent` implementation for HTTP",

@@ -33,3 +33,3 @@ "main": "./dist/index.js",

"dependencies": {
"@tootallnate/once": "1",
"@tootallnate/once": "2",
"agent-base": "6",

@@ -40,3 +40,3 @@ "debug": "4"

"@types/debug": "4",
"@types/node": "^12.12.11",
"@types/node": "^12.19.2",
"@typescript-eslint/eslint-plugin": "1.6.0",

@@ -54,3 +54,3 @@ "@typescript-eslint/parser": "1.1.0",

"rimraf": "^3.0.0",
"typescript": "^3.5.3"
"typescript": "^4.4.3"
},

@@ -57,0 +57,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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