Packages

@npmcli/agent

5.0.2 · 19 Jun 2026ISC25.6M / weekRepositoryHomepagenpmAtom feed

Your version

14 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 5.x · latest line
  2. 5.0.2

    19 Jun 2026
    • Retain idle timeout for free sockets

  3. 5.0.1

    26 May 2026
    • Don't put opts.headers into the agent itself

    • Dispatch pending requests when a connection fails

  4. 5.0.0

    7 May 2026
    • Breaking

      @npmcli/agent now supports node ^22.22.2 || ^24.15.0 || >=26.0.0

    • Bump to new node engine range

  5. 4.x
  6. 4.0.2

    27 May 2026
    • Use node 24 in ci

  7. 4.0.0

    18 Sep 2025
    • Breaking

      @npmcli/agent now supports node ^20.17.0 || >=22.9.0

    • Align to npm 11 node engine range

  8. 3.x
  9. 3.0.0

    26 Aug 2024
    • Breaking

      @npmcli/agent now supports node ^18.17.0 || >=20.5.0

    • Align to npm 10 node engine range

  10. 2.x
  11. 2.2.2

    1 Apr 2024
    • Set socks proxy socket family

  12. 2.2.1

    5 Feb 2024
    • Properly differentiate http and https proxies

  13. 2.2.0

    2 Oct 2023
    • Use agent-base

    • Remove unnecessary utils and cleanup destructuring

    • Set proxy from env vars based on truthiness

  14. 2.1.1

    8 Sep 2023
    • Use current agent to determine secure proxy

  15. 2.1.0

    30 Aug 2023
    • Use third party proxy agents

  16. 2.0.0

    15 Aug 2023
    • Breaking

      Support for node 14 has been removed

    • Drop node14 support

    • Use lru-cache named export

  17. 1.x
  18. 1.1.0

    16 May 2023
    • Implement getAgent function

    • Implement socks proxy

    • Implement the family flag for restricting tcp family

  19. 1.0.0

    8 Dec 2022
    • Breaking

      @npmcli/agent is 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

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.