Skip to content

Commit 71424e1

Browse files
committed
build: update https-proxy-agent to version 7.0.2
This commit updates `https-proxy-agent` to version 7+
1 parent 1b76d03 commit 71424e1

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"guess-parser": "0.4.22",
149149
"http-proxy": "^1.18.1",
150150
"http-proxy-middleware": "2.0.6",
151-
"https-proxy-agent": "5.0.1",
151+
"https-proxy-agent": "7.0.2",
152152
"husky": "8.0.3",
153153
"ini": "4.1.1",
154154
"inquirer": "8.2.6",

packages/angular_devkit/build_angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"esbuild-wasm": "0.19.2",
3636
"fast-glob": "3.3.1",
3737
"guess-parser": "0.4.22",
38-
"https-proxy-agent": "5.0.1",
38+
"https-proxy-agent": "7.0.2",
3939
"http-proxy-middleware": "2.0.6",
4040
"inquirer": "8.2.6",
4141
"jsonc-parser": "3.2.0",

packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import proxyAgent from 'https-proxy-agent';
9+
import { HttpsProxyAgent } from 'https-proxy-agent';
1010
import { createHash } from 'node:crypto';
1111
import { readFile, rm, writeFile } from 'node:fs/promises';
1212
import * as https from 'node:https';
@@ -196,11 +196,11 @@ export class InlineFontsProcessor {
196196
} catch {}
197197
}
198198

199-
let agent: proxyAgent.HttpsProxyAgent | undefined;
199+
let agent: HttpsProxyAgent<string> | undefined;
200200
const httpsProxy = process.env.HTTPS_PROXY ?? process.env.https_proxy;
201201

202202
if (httpsProxy) {
203-
agent = proxyAgent(httpsProxy);
203+
agent = new HttpsProxyAgent(httpsProxy);
204204
}
205205

206206
const data = await new Promise<string>((resolve, reject) => {

yarn.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -7468,6 +7468,14 @@ https-proxy-agent@5.0.1, https-proxy-agent@^5.0.0:
74687468
agent-base "6"
74697469
debug "4"
74707470

7471+
https-proxy-agent@7.0.2, https-proxy-agent@^7.0.1:
7472+
version "7.0.2"
7473+
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz#e2645b846b90e96c6e6f347fb5b2e41f1590b09b"
7474+
integrity sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==
7475+
dependencies:
7476+
agent-base "^7.0.2"
7477+
debug "4"
7478+
74717479
https-proxy-agent@^2.2.1:
74727480
version "2.2.4"
74737481
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b"
@@ -7476,14 +7484,6 @@ https-proxy-agent@^2.2.1:
74767484
agent-base "^4.3.0"
74777485
debug "^3.1.0"
74787486

7479-
https-proxy-agent@^7.0.1:
7480-
version "7.0.2"
7481-
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz#e2645b846b90e96c6e6f347fb5b2e41f1590b09b"
7482-
integrity sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==
7483-
dependencies:
7484-
agent-base "^7.0.2"
7485-
debug "4"
7486-
74877487
human-signals@^2.1.0:
74887488
version "2.1.0"
74897489
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"

0 commit comments

Comments
 (0)