omise/omise-node

agent-base monkey patch breaks HTTPS requests

Opened this issue · 0 comments

Up until version 6.0.0, the agent-base package was patching https.request. As a result, it could completely break requests made with the (url, options, callback) signature, as specified by the core https package. As this patch affects HTTPS requests made globally, unrelated code can be severely affected.

Fix: update to the latest version of https-proxy-agent (5.0.0) to fix this issue.