chore(deps): update proxy-agent to newer version

Merged
WI
6mo ago
+12374-12325

Summary by cubic

Update proxy-agent to ^8.0.1 and make the import runtime-safe across CJS/ESM. We now lazily create ProxyAgent only when proxy env vars are set, and set httpAgent/httpsAgent accordingly.

  • Dependencies
    • Bumped proxy-agent to ^8.0.1.
    • Updated app.module.ts to use require('proxy-agent').default ?? require('proxy-agent') and instantiate per protocol under env checks.
    • Regenerated yarn.lock to capture the v8 stack: http-proxy-agent@9, https-proxy-agent@9, pac-proxy-agent@9, pac-resolver@9, socks-proxy-agent@10, agent-base@9, get-uri@8, data-uri-to-buffer@8, degenerator@7, quickjs-wasi@^2.2.0, proxy-from-env@^2.