NetStorageKit-Node
NetStorageKit-Node copied to clipboard
Upgrade https-proxy-agent to drop rewrite of `https.request()`
- https-proxy-agent v2.1.1 to v5.0.0
- http-proxy-agent removed (not used in code)
You use a old and strange version of https-proxy-agent who rewrite the original function 'https.request()' ...
https://github.com/TooTallNate/node-agent-base/blob/4.3.0/patch-core.js#L13
This rewrite are not neccesary and produce bug when we use a Url object.
Object.assign({}, _options); will transform a Url into Symbol
https://www.diffchecker.com/NGxe92j3
ping @AstinCHOI
ping @kporowski
ping @vreddhi
@rajiv @benlancaster @alzix @akalcosmin
Can someone review, merge and release this PR please ?