A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/a789f334757b691db02fcc182781d02b41e8bb5c below:

agent-base@7.1.4 · npm/cli@a789f33 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+5

-7

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+5

-7

lines changed Original file line number Diff line number Diff line change

@@ -111,9 +111,7 @@ class Agent extends http.Agent {

111 111

// In order to properly update the socket pool, we need to call `getName()` on

112 112

// the core `https.Agent` if it is a secureEndpoint.

113 113

getName(options) {

114 -

const secureEndpoint = typeof options.secureEndpoint === 'boolean'

115 -

? options.secureEndpoint

116 -

: this.isSecureEndpoint(options);

114 +

const secureEndpoint = this.isSecureEndpoint(options);

117 115

if (secureEndpoint) {

118 116

// @ts-expect-error `getName()` isn't defined in `@types/node`

119 117

return https_1.Agent.prototype.getName.call(this, options);

Original file line number Diff line number Diff line change

@@ -1,6 +1,6 @@

1 1

{

2 2

"name": "agent-base",

3 -

"version": "7.1.3",

3 +

"version": "7.1.4",

4 4

"description": "Turn a function into an `http.Agent` instance",

5 5

"main": "./dist/index.js",

6 6

"types": "./dist/index.d.ts",

Original file line number Diff line number Diff line change

@@ -5171,9 +5171,9 @@

5171 5171

}

5172 5172

},

5173 5173

"node_modules/agent-base": {

5174 -

"version": "7.1.3",

5175 -

"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz",

5176 -

"integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==",

5174 +

"version": "7.1.4",

5175 +

"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",

5176 +

"integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",

5177 5177

"inBundle": true,

5178 5178

"license": "MIT",

5179 5179

"engines": {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4