Socket
Socket
Sign inDemoInstall

agent-base

Package Overview
Dependencies
0
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.0 to 5.1.1

5

dist/src/index.js

@@ -85,3 +85,6 @@ "use strict";

addRequest(req, _opts) {
const ownOpts = Object.assign(Object.assign({}, _opts), { secureEndpoint: isSecureEndpoint() });
const ownOpts = Object.assign({}, _opts);
if (typeof ownOpts.secureEndpoint !== 'boolean') {
ownOpts.secureEndpoint = isSecureEndpoint();
}
// Set default `host` for HTTP to localhost

@@ -88,0 +91,0 @@ if (ownOpts.host == null) {

2

package.json
{
"name": "agent-base",
"version": "5.1.0",
"version": "5.1.1",
"description": "Turn a function into an `http.Agent` instance",

@@ -5,0 +5,0 @@ "main": "dist/src/index",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc