deps: @npmcli/agent@4.0.2 · npm/cli@11cd66e · GitHub
Skip to content

Commit 11cd66e

Browse files
committed
deps: @npmcli/agent@4.0.2
1 parent 8be4c04 commit 11cd66e

4 files changed

Lines changed: 68 additions & 8 deletions

File tree

node_modules/@npmcli/agent/lib/agents.js

Lines changed: 52 additions & 0 deletions

node_modules/@npmcli/agent/lib/options.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ const normalizeOptions = (opts) => {
3737
// remove timeout since we already used it to set our own idle timeout
3838
delete normalized.timeout
3939

40+
// since opts is often passed when initiating requests, it may contain
41+
// headers, which should not be saved in an agent
42+
delete normalized.headers
43+
4044
return normalized
4145
}
4246

node_modules/@npmcli/agent/package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/agent",
3-
"version": "4.0.0",
3+
"version": "4.0.2",
44
"description": "the http/https agent used by the npm cli",
55
"main": "lib/index.js",
66
"scripts": {
@@ -29,8 +29,10 @@
2929
},
3030
"templateOSS": {
3131
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
32-
"version": "4.25.0",
33-
"publish": "true"
32+
"version": "4.30.0",
33+
"publish": "true",
34+
"updateNpm": false,
35+
"latestCiVersion": 24
3436
},
3537
"dependencies": {
3638
"agent-base": "^7.1.0",
@@ -40,11 +42,11 @@
4042
"socks-proxy-agent": "^8.0.3"
4143
},
4244
"devDependencies": {
43-
"@npmcli/eslint-config": "^5.0.0",
44-
"@npmcli/template-oss": "4.25.0",
45-
"minipass-fetch": "^4.0.1",
45+
"@npmcli/eslint-config": "^6.0.0",
46+
"@npmcli/template-oss": "4.30.0",
47+
"ip-address": "^10.1.0",
48+
"minipass-fetch": "^5.0.0",
4649
"nock": "^14.0.3",
47-
"socksv5": "^0.0.6",
4850
"tap": "^16.3.0"
4951
},
5052
"repository": {

package-lock.json

Lines changed: 3 additions & 1 deletion

0 commit comments

Comments
 (0)