File tree 4 files changed +13
-13
lines changed
packages/angular_devkit/build_angular
4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 148
148
"guess-parser" : " 0.4.22" ,
149
149
"http-proxy" : " ^1.18.1" ,
150
150
"http-proxy-middleware" : " 2.0.6" ,
151
- "https-proxy-agent" : " 5 .0.1 " ,
151
+ "https-proxy-agent" : " 7 .0.2 " ,
152
152
"husky" : " 8.0.3" ,
153
153
"ini" : " 4.1.1" ,
154
154
"inquirer" : " 8.2.6" ,
Original file line number Diff line number Diff line change 35
35
"esbuild-wasm" : " 0.19.2" ,
36
36
"fast-glob" : " 3.3.1" ,
37
37
"guess-parser" : " 0.4.22" ,
38
- "https-proxy-agent" : " 5 .0.1 " ,
38
+ "https-proxy-agent" : " 7 .0.2 " ,
39
39
"http-proxy-middleware" : " 2.0.6" ,
40
40
"inquirer" : " 8.2.6" ,
41
41
"jsonc-parser" : " 3.2.0" ,
Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
9
- import proxyAgent from 'https-proxy-agent' ;
9
+ import { HttpsProxyAgent } from 'https-proxy-agent' ;
10
10
import { createHash } from 'node:crypto' ;
11
11
import { readFile , rm , writeFile } from 'node:fs/promises' ;
12
12
import * as https from 'node:https' ;
@@ -196,11 +196,11 @@ export class InlineFontsProcessor {
196
196
} catch { }
197
197
}
198
198
199
- let agent : proxyAgent . HttpsProxyAgent | undefined ;
199
+ let agent : HttpsProxyAgent < string > | undefined ;
200
200
const httpsProxy = process . env . HTTPS_PROXY ?? process . env . https_proxy ;
201
201
202
202
if ( httpsProxy ) {
203
- agent = proxyAgent ( httpsProxy ) ;
203
+ agent = new HttpsProxyAgent ( httpsProxy ) ;
204
204
}
205
205
206
206
const data = await new Promise < string > ( ( resolve , reject ) => {
Original file line number Diff line number Diff line change @@ -7468,6 +7468,14 @@ https-proxy-agent@5.0.1, https-proxy-agent@^5.0.0:
7468
7468
agent-base "6"
7469
7469
debug "4"
7470
7470
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
+
7471
7479
https-proxy-agent@^2.2.1:
7472
7480
version "2.2.4"
7473
7481
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:
7476
7484
agent-base "^4.3.0"
7477
7485
debug "^3.1.0"
7478
7486
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
-
7487
7487
human-signals@^2.1.0:
7488
7488
version "2.1.0"
7489
7489
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
You can’t perform that action at this time.
0 commit comments