---
title: "@npmcli/agent 5.0.2: release notes, upgrades and advisories"
description: "@npmcli/agent 5.0.2: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/@npmcli/agent
lang: en
---

[Packages](https://inlinr.com/packages)

# @npmcli/agent

5.0.2 · 19 Jun 2026 ISC 25.6M / week [Repository](https://github.com/npm/agent) [Homepage](https://github.com/npm/agent#readme) [npm](https://www.npmjs.com/package/@npmcli/agent) [Atom feed](https://inlinr.com/packages/feed/@npmcli/agent)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@npmcli/agent/upgrade)

LineNewestSecurity

- 5.x 5.0.2 No known advisory Latest line
- 4.x 4.0.2 No known advisory [To 5.0.2](https://inlinr.com/packages/@npmcli/agent/upgrade/4.0.2-5.0.2)
- 3.x 3.0.0 No known advisory [To 5.0.2](https://inlinr.com/packages/@npmcli/agent/upgrade/3.0.0-5.0.2)
- 2.x 2.2.2 No known advisory [To 5.0.2](https://inlinr.com/packages/@npmcli/agent/upgrade/2.2.2-5.0.2)
- 1.x 1.1.0 No known advisory [To 5.0.2](https://inlinr.com/packages/@npmcli/agent/upgrade/1.1.0-5.0.2)

## Latest releases

1. 5.x · latest line
2. ### [5.0.2](https://inlinr.com/packages/@npmcli/agent/releases/5.0.2 "Open this release") [](https://github.com/npm/agent/releases/tag/v5.0.2 "Read this release where it was published")  
19 Jun 2026

  - Retain idle timeout for free sockets
3. ### [5.0.1](https://inlinr.com/packages/@npmcli/agent/releases/5.0.1 "Open this release") [](https://github.com/npm/agent/releases/tag/v5.0.1 "Read this release where it was published")  
26 May 2026

  - Don't put opts.headers into the agent itself
  - Dispatch pending requests when a connection fails
4. ### [5.0.0](https://inlinr.com/packages/@npmcli/agent/releases/5.0.0 "Open this release") [](https://github.com/npm/agent/releases/tag/v5.0.0 "Read this release where it was published")  
7 May 2026

  - Breaking  
  [@npmcli/agent](https://inlinr.com/packages/@npmcli/agent) now supports node `^22.22.2 || ^24.15.0 || >=26.0.0`
  - Bump to new node engine range

Dependency tracking

## Know when your own dependencies move

@npmcli/agent shipped a new major in the last 12 months, among 4 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health

[Details](https://inlinr.com/packages/@npmcli/agent/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

## Same family

- [@npmcli/fs 40.4M/wk](https://inlinr.com/packages/@npmcli/fs)
- [@npmcli/arborist 9.7M/wk](https://inlinr.com/packages/@npmcli/arborist)
- [@npmcli/template-oss 8k/wk](https://inlinr.com/packages/@npmcli/template-oss)

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
