Open nkitsaini opened 11 months ago
Hmmm… I wouldn't necessarily be opposed, however doing so at this point seems like a lot of work. The code for that old version of agent-base
does not even live in this repository at this point (after the monorepo refactor). It would be in the archived original repo.
Have you tried proposing a PR for snyk
to update to the latest version?
I've been recently trying to use
openid-client
npm package. And due toagent-base
patch it fails to successfully callhttps.request
. Theagent-base
version in my repo is older (4.3.0
). It is a dependency ofsnyk
which still has not yet upgraded to newerhttps-proxy-agent
.I know ideally I should upgrade to newer
agent-base
. But since I found few Gtihub Issues where people have run into this same problem, would you be open to releasing av4.3.1
ofagent-base
(maybe a patch version for all versions that includepatch-core.js
) where the patch is compatible with node'shttps.request
.I'll be happy to raise a PR for code changes.