Skip to content

Breaking change deps updates#145

Open
wraithgar wants to merge 4 commits intomainfrom
gar/breaking-deps-updates
Open

Breaking change deps updates#145
wraithgar wants to merge 4 commits intomainfrom
gar/breaking-deps-updates

Conversation

@wraithgar
Copy link
Member

@wraithgar wraithgar commented Mar 16, 2026

This is a cherry-pick of all the breaking change updates to the http agent libraries. There are two blockers here:

First, these packages do not have a default exports, so require will no longer work. An issue has been opened seeing if one could be added. None of them do top level await so it should work just fine.

The second problem is that the socket error test in test/agent.js fails with an internal node traceback of an Unhandled error. Nothing in the underlying code changed in a way that would explain this. The most likely culprit is the way we are doing mocking of the underlying socks library. socks-proxy-agent is now using import and I don't know for sure if t.mock is going to catch that.

This is a PR where we can follow the progress of the proxy-agents issue, and either wait till that update or refactor this package to export generator functions instead of bare classes. We also will need to figure out the mocking/testing error.

dependabot bot added 4 commits March 16, 2026 10:24
Bumps [https-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/https-proxy-agent) from 7.0.6 to 8.0.0.
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases)
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/https-proxy-agent/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/https-proxy-agent@8.0.0/packages/https-proxy-agent)

---
updated-dependencies:
- dependency-name: https-proxy-agent
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [agent-base](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/agent-base) from 7.1.4 to 8.0.0.
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases)
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/agent-base/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/agent-base@8.0.0/packages/agent-base)

---
updated-dependencies:
- dependency-name: agent-base
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [http-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/http-proxy-agent) from 7.0.2 to 8.0.0.
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases)
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/http-proxy-agent/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/http-proxy-agent@8.0.0/packages/http-proxy-agent)

---
updated-dependencies:
- dependency-name: http-proxy-agent
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [socks-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/socks-proxy-agent) from 8.0.5 to 9.0.0.
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases)
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/socks-proxy-agent/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/socks-proxy-agent@9.0.0/packages/socks-proxy-agent)

---
updated-dependencies:
- dependency-name: socks-proxy-agent
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@wraithgar wraithgar requested a review from a team as a code owner March 16, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant