File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse 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 {
111111 // In order to properly update the socket pool, we need to call `getName()` on
112112 // the core `https.Agent` if it is a secureEndpoint.
113113 getName ( options ) {
114- const secureEndpoint = typeof options . secureEndpoint === 'boolean'
115- ? options . secureEndpoint
116- : this . isSecureEndpoint ( options ) ;
114+ const secureEndpoint = this . isSecureEndpoint ( options ) ;
117115 if ( secureEndpoint ) {
118116 // @ts -expect-error `getName()` isn't defined in `@types/node`
119117 return https_1 . Agent . prototype . getName . call ( this , options ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " agent-base" ,
3- "version" : " 7.1.3 " ,
3+ "version" : " 7.1.4 " ,
44 "description" : " Turn a function into an `http.Agent` instance" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change 51715171 }
51725172 },
51735173 "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 ==",
51775177 "inBundle": true,
51785178 "license": "MIT",
51795179 "engines": {
You can’t perform that action at this time.
0 commit comments