@npmcli/agent
5.0.2 · 19 Jun 2026ISC25.6M / weekRepositoryHomepagenpmAtom feed
14 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 5.x · latest line
5.0.2
19 Jun 2026Retain idle timeout for free sockets
Bug Fixes
Retain idle timeout for free sockets
5.0.1
26 May 2026Don't put opts.headers into the agent itself
Dispatch pending requests when a connection fails
Bug Fixes
Don't put opts.headers into the agent itself
Dispatch pending requests when a connection fails
5.0.0
7 May 2026- Breaking
@npmcli/agentnow supports node^22.22.2 || ^24.15.0 || >=26.0.0 Bump to new node engine range
Breaking changes
- Breaking
@npmcli/agentnow supports node^22.22.2 || ^24.15.0 || >=26.0.0
Features
Bump to new node engine range
- 4.x
4.0.2
27 May 2026Use node 24 in ci
4.0.0
18 Sep 2025- Breaking
@npmcli/agentnow supports node^20.17.0 || >=22.9.0 Align to npm 11 node engine range
Breaking changes
- Breaking
@npmcli/agentnow supports node^20.17.0 || >=22.9.0
Bug Fixes
Align to npm 11 node engine range
- 3.x
3.0.0
26 Aug 2024- Breaking
@npmcli/agentnow supports node^18.17.0 || >=20.5.0 Align to npm 10 node engine range
Breaking changes
- Breaking
@npmcli/agentnow supports node^18.17.0 || >=20.5.0
Bug Fixes
Align to npm 10 node engine range
- 2.x
2.2.2
1 Apr 2024Set socks proxy socket family
2.2.1
5 Feb 2024Properly differentiate http and https proxies
Bug Fixes
Properly differentiate http and https proxies
2.2.0
2 Oct 2023Use agent-base
Remove unnecessary utils and cleanup destructuring
Set proxy from env vars based on truthiness
2.1.1
8 Sep 2023Use current agent to determine secure proxy
2.1.0
30 Aug 2023Use third party proxy agents
2.0.0
15 Aug 2023- Breaking
Support for node 14 has been removed
Drop node14 support
Use lru-cache named export
Breaking changes
- Breaking
Support for node 14 has been removed
Bug Fixes
Drop node14 support
Use lru-cache named export
- 1.x
1.1.0
16 May 2023Implement getAgent function
Implement socks proxy
Implement the family flag for restricting tcp family
Features
Implement getAgent function
Implement socks proxy
Implement the family flag for restricting tcp family
Implement dns cache
Implement granular timeouts
Bug Fixes
Pass parameters into errors so we can attach context to them
1.0.0
8 Dec 2022- Breaking
@npmcli/agentis now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0 Postinstall for dependabot template-oss PR
Initial commit
Breaking changes
- Breaking
@npmcli/agentis now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0
Features
Postinstall for dependabot template-oss PR
Initial commit
Bug Fixes
Dont use an agent for the CONNECT request
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.