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 8282 "@types/less" : " ^3.0.3" ,
8383 "@types/loader-utils" : " ^2.0.0" ,
8484 "@types/lodash" : " ^4.17.0" ,
85- "@types/node" : " ^20.17.19 " ,
85+ "@types/node" : " ^20.19.7 " ,
8686 "@types/npm-package-arg" : " ^6.1.0" ,
8787 "@types/pacote" : " ^11.1.3" ,
8888 "@types/picomatch" : " ^4.0.0" ,
Original file line number Diff line number Diff line change 99import { HttpsProxyAgent } from 'https-proxy-agent' ;
1010import { createHash } from 'node:crypto' ;
1111import { readFile , rm , writeFile } from 'node:fs/promises' ;
12- import { Agent , get as httpsGet } from 'node:https' ;
12+ import { get as httpsGet } from 'node:https' ;
1313import { join } from 'node:path' ;
1414import { NormalizedCachedOptions } from '../normalize-cache' ;
1515import { htmlRewritingStream } from './html-rewriting-stream' ;
@@ -200,8 +200,7 @@ export class InlineFontsProcessor {
200200 httpsGet (
201201 url ,
202202 {
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 ,
205204 headers : {
206205 /**
207206 * 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