Packages

@npmcli/agent

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

Upgrading @npmcli/agent From 4.0.0 to 5.0.2

4 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.0.0Newest 4.x4.0.2
1
change to make
0
advisories fixed
1
new
4
fixes

Before you upgrade

Tick each one off as you go
  • Breaking5.0.0

Release by release

  1. 5.0.2

    19 Jun 20261 fix
    • Fixed

      Retain idle timeout for free sockets

  2. 5.0.1

    26 May 20262 fixes
    • Fixed

      Don't put opts.headers into the agent itself

    • Fixed

      Dispatch pending requests when a connection fails

  3. 5.0.0

    Migration needed7 May 20261 new
    • Breaking

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

    • New

      Bump to new node engine range

  4. 4.0.2

    27 May 20261 fix
    • Fixed

      Use node 24 in ci

9 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.