feat(node): Update and vendor https-proxy-agent
#10088
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #9199
This PR vendors the
https-proxy-agent
code and in the process updates to v7.0.0.https-proxy-agent
is our last remaining cjs-only dependency so this is required for #10046.This removes the following dependencies:
[email protected]
[email protected]
[email protected]
[email protected]
The vendored code has been modified to use the Sentry logger rather than
debug
.Initially, rather than modify the vendored code substantially just to pass our tight lint rules, I've disabled a few of the less important lints that would make it particularly tricky to pull in upstream bug fixes:
Min supported Node version
https-proxy-agent
has a@types/[email protected]
dev dependency but apart from adding an import forURL
, I can't find anything that would stop it working on older versions of node and there is nothing in the changelogs that would suggest the min supported version has changed.