File tree Expand file tree Collapse file tree 3 files changed +142
-136
lines changed
packages/angular/build/src/utils/index-file Expand file tree Collapse file tree 3 files changed +142
-136
lines changed Original file line number Diff line number Diff line change 82
82
"@types/less" : " ^3.0.3" ,
83
83
"@types/loader-utils" : " ^2.0.0" ,
84
84
"@types/lodash" : " ^4.17.0" ,
85
- "@types/node" : " ^20.17.19 " ,
85
+ "@types/node" : " ^20.19.7 " ,
86
86
"@types/npm-package-arg" : " ^6.1.0" ,
87
87
"@types/pacote" : " ^11.1.3" ,
88
88
"@types/picomatch" : " ^4.0.0" ,
Original file line number Diff line number Diff line change 9
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
- import { Agent , get as httpsGet } from 'node:https' ;
12
+ import { get as httpsGet } from 'node:https' ;
13
13
import { join } from 'node:path' ;
14
14
import { NormalizedCachedOptions } from '../normalize-cache' ;
15
15
import { htmlRewritingStream } from './html-rewriting-stream' ;
@@ -200,8 +200,7 @@ export class InlineFontsProcessor {
200
200
httpsGet (
201
201
url ,
202
202
{
203
- // TODO(alanagius): remove casting https://github.com/TooTallNate/proxy-agents/issues/379 is fixed.
204
- agent : httpsProxy ? ( new HttpsProxyAgent ( httpsProxy ) as Agent ) : undefined ,
203
+ agent : httpsProxy ? new HttpsProxyAgent ( httpsProxy ) : undefined ,
205
204
headers : {
206
205
/**
207
206
* Always use a Windows UA. This is because Google fonts will including hinting in fonts for Windows.
You can’t perform that action at this time.
0 commit comments