feat(node): Update and vendor https-proxy-agent#10088
Merged
AbhiPrasad merged 7 commits intogetsentry:developfrom Jan 18, 2024
Merged
feat(node): Update and vendor https-proxy-agent#10088AbhiPrasad merged 7 commits intogetsentry:developfrom
https-proxy-agent#10088AbhiPrasad merged 7 commits intogetsentry:developfrom
Conversation
Collaborator
Author
|
Once #10156 is merged, we can test this! |
Collaborator
Author
|
This is now tested via a previously added integration test! |
Contributor
|
Going to update this branch so we can get it out with the next release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-agentcode and in the process updates to v7.0.0.https-proxy-agentis our last remaining cjs-only dependency so this is required for #10046.This removes the following dependencies:
https-proxy-agent@5.0.1agent-base@6.0.2debug@4.3.4ms@2.1.2The 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-agenthas a@types/node@14.18.45dev 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.