Skip to content

Commit 275ed96

Browse files
committed
build: update @types/node to 20.19.7
This contains the fix for TooTallNate/proxy-agents#379 (comment)
1 parent 5af81b7 commit 275ed96

File tree

3 files changed

+141
-135
lines changed

3 files changed

+141
-135
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
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",

packages/angular/build/src/utils/index-file/inline-fonts.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.

0 commit comments

Comments
 (0)