socks-proxy-agent
10.1.0 · 8 Jun 2026MIT70.4M / weekRepositoryHomepagenpmAtom feed
Upgrading socks-proxy-agent From 8.0.2 to 10.1.0
6 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Breaking10.0.0
- Breaking9.0.0
Security
- 8.0.4
Resolve vulnerability in IP package
Release by release
- New
Add
proxyevent emission on the request object for all proxy agents. After the proxy connection is established, the request emits aproxyevent with{ proxy, socket }whereproxyis the proxy URL string. This is useful for debugging and logging which proxy was used for a connection.
- New
- Breaking
Set minimum Node.js version to 20
- Fixed
Simplify package.json exports to remove unnecessary imports restriction
- Breaking
- Breaking
Convert to ESM. All packages now use
"type": "module"and compile to ESM output instead of CommonJS.
- Breaking
- Fixed
Only overwrite servername in tls connect when host is not an IP address
- Fixed
- Security
Resolve vulnerability in IP package
- Fixed
Remove
net.isIP()check for TLSservername
- Security
- Fixed
Pass
socket_optionstoSocksClient
- Fixed
4 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.