A RetroSearch Logo

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

Search Query:

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

agent-base@7.1.3 · npm/cli@a598b7b · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+12

-14

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+12

-14

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

@@ -256,7 +256,6 @@ graph LR;

256 256

## all dependencies

257 257

```mermaid

258 258

graph LR;

259 -

agent-base-->debug;

260 259

bin-links-->cmd-shim;

261 260

bin-links-->npm-normalize-package-bin;

262 261

bin-links-->proc-log;

Original file line number Diff line number Diff line change

@@ -133,8 +133,13 @@ class Agent extends http.Agent {

133 133

.then((socket) => {

134 134

this.decrementSockets(name, fakeSocket);

135 135

if (socket instanceof http.Agent) {

136 -

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

137 -

return socket.addRequest(req, connectOpts);

136 +

try {

137 +

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

138 +

return socket.addRequest(req, connectOpts);

139 +

}

140 +

catch (err) {

141 +

return cb(err);

142 +

}

138 143

}

139 144

this[INTERNAL].currentSocket = socket;

140 145

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

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.1",

3 +

"version": "7.1.3",

4 4

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

5 5

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

6 6

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

@@ -21,9 +21,6 @@

21 21

],

22 22

"author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",

23 23

"license": "MIT",

24 -

"dependencies": {

25 -

"debug": "^4.3.4"

26 -

},

27 24

"devDependencies": {

28 25

"@types/debug": "^4.1.7",

29 26

"@types/jest": "^29.5.1",

@@ -34,7 +31,7 @@

34 31

"jest": "^29.5.0",

35 32

"ts-jest": "^29.1.0",

36 33

"typescript": "^5.0.4",

37 -

"ws": "^3.3.3",

34 +

"ws": "^5.2.4",

38 35

"tsconfig": "0.0.0"

39 36

},

40 37

"engines": {

Original file line number Diff line number Diff line change

@@ -5018,14 +5018,11 @@

5018 5018

}

5019 5019

},

5020 5020

"node_modules/agent-base": {

5021 -

"version": "7.1.1",

5022 -

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

5023 -

"integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==",

5021 +

"version": "7.1.3",

5022 +

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

5023 +

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

5024 5024

"inBundle": true,

5025 5025

"license": "MIT",

5026 -

"dependencies": {

5027 -

"debug": "^4.3.4"

5028 -

},

5029 5026

"engines": {

5030 5027

"node": ">= 14"

5031 5028

}

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