Use proxy-agent to support $HTTP_PROXY

Closes #124

This works by monkey patching the http and https modules's default agent
at runtime to the one given by the proxy-agent package.
This commit is contained in:
Anmol Sethi
2020-12-04 00:53:27 -05:00
parent cee88ad637
commit 691d44d4a8
5 changed files with 845 additions and 17 deletions

View File

@@ -82,6 +82,7 @@
"js-yaml": "^3.13.1",
"limiter": "^1.1.5",
"pem": "^1.14.2",
"proxy-agent": "^4.0.0",
"qs": "6.7.0",
"rotating-file-stream": "^2.1.1",
"safe-buffer": "^5.1.1",