cooldown

outdated

On this page

outdated reports what could update, split into what is adoptable now versus what is still in cooldown. It is the read-only “what’s going on” view, and never mutates anything except under two opt-in flags:

  • --lock: refreshes lockfiles before reading them.
  • The global --sync: writes native config before the run.
cooldown outdated
$ cooldown outdated --tool cargo --countdown soonest
──────────────────────────────────────────────────────────────────────────────────
 Package     Current   Adoptable   Latest    Cooldown            Status           
══════════════════════════════════════════════════════════════════════════════════
 hex         0.4.2     0.4.3       0.4.3     1937d/7d            pinned           
──────────────────────────────────────────────────────────────────────────────────
 bytes       1.11.1    —           1.12.0    4d/7d               in cooldown      
──────────────────────────────────────────────────────────────────────────────────
 log         0.4.29    —           0.4.33    28d/30d (0.4.30)    in cooldown      
──────────────────────────────────────────────────────────────────────────────────
 itertools   0.10.5    0.15.0      0.15.0    5d/0d               exempt           
──────────────────────────────────────────────────────────────────────────────────
 once_cell   1.21.4    —           1.21.4    102d/7d             up-to-date       
──────────────────────────────────────────────────────────────────────────────────
 clap        4.1.0     4.6.1       4.6.1     67d/7d              adoptable        
──────────────────────────────────────────────────────────────────────────────────
 lettre      0.11.21   0.11.22     0.11.22   39d/1d (security    adoptable ⚠      
                                             GHSA-4pj9-g833-qx   fixes GHSA-4pj9- 
                                             53)                 g833-qx53        
                                                                 (critical)       
──────────────────────────────────────────────────────────────────────────────────
 regex       1.7.0     1.12.4      1.12.4    12d/7d              adoptable        
──────────────────────────────────────────────────────────────────────────────────
 serde       1.0.150   1.0.228     1.0.228   267d/7d             adoptable        
──────────────────────────────────────────────────────────────────────────────────
 tokio       1.25.0    1.52.3      1.52.3    44d/7d              adoptable ⚠      
                                                                 fixes GHSA-rr8g- 
                                                                 9fpq-6wmg (low)  
──────────────────────────────────────────────────────────────────────────────────

5 adoptable · 0 blocked · 2 in cooldown · 1 up-to-date · 1 exempt · 1 held · 0 unknown-age

Reading the table#

ColumnMeaning
PackageThe dependency name.
Used byThe workspace members that declare it (first (+N others) when several do). The column appears when the report names multiple members. On npm a member is credited only with the copy its own lookup in the lock’s install tree reaches, so a copy of the name nested under another dependency is transitive.
CurrentThe version currently locked.
AdoptableThe version that has cleared its cooldown and that upgrade lands — which can be older than the newest matured one (see Agreeing with upgrade) — blank (—) if nothing new has matured.
LatestThe newest version that exists, cooled down or not — on the current major under --no-major, where a version another package’s move carries a dependency to can sit above it.
Cooldownage/window for the relevant candidate — how old it is versus the window it must clear. A shortened advisory window appends (security GHSA-…); a stricter clamp appends (≥source).
Statusadoptable, blocked, in cooldown, current in cooldown, exempt, held, unknown age, error, or up-to-date. A held row shows its reason in place of held: pinned, commit pin, bound <req>, max-major N, dist-tag latest X or graph ceiling. A blocked row names its blocker (blocked by eslint-config-next) when the resolve named one. Every blocked row carries the full reason the upgrade resolve gave — a partial landing and its remedy, a workspace split and the flag that converges it, a refused duplicate copy — as blockedReason in --json and, under --why, below the table; the sentences are too wide for the column itself. With the advisory feed enabled, a candidate that fixes an advisory affecting the current pin is annotated ⚠ fixes GHSA-… (high).

The summary line at the bottom counts the whole resolved graph (direct + transitive), even though the table shows only direct dependencies by default. Its held figure counts the rows whose status is held (exact pins, commit pins, declared bounds, ceilings).

The warnings under the table are a different thing, and none of them is a held row:

  • warning [held]: a too-fresh dependency the upgrade dry run’s reconcile left in place.
  • duplicate_copy: a second copy the dry run’s resolve added.
  • excluded_moved: an excluded importer’s copy that moved.

Agreeing with upgrade#

Every row says what upgrade --dry-run does with that dependency, because outdated runs that same dry run on each project — the package manager’s resolver against a throwaway copy, never the project itself — and reads its rows off the result:

  • adoptable — upgrade moves the row’s copy itself, and the lock the dry run leaves still holds that move in every member that declares the copy; Adoptable shows the version. That can be lower than the newest matured version — an older release on the same line when the newest cannot land, or the newest one on the current major beside a major that stays held.
  • blocked — the dry run tried to move the row’s copy and held it; Adoptable shows the version it tried, and the row carries its reason. A matured version upgrade never tries on its own is blocked too, with the reason upgrade does not move it on its own: it follows the packages that require it. That includes a version the copy reaches only as a side effect of another package’s move, which outdated does not claim: nothing in the dry run proves every binding of the copy moved there.
  • error — the dry run failed for the row’s package, or stopped before it could confirm or decide a move of it; the row carries the failure, even when it was held. A failure that left no listed row unsettled, such as one for a package the table does not list, is a warning.
  • exempt rows stay exempt at the version the dry run lands, and read blocked like any other row when it holds them.
  • held rows keep their status unless the dry run moves them anyway, tries them once the requirer holding them moved, or fails for them.

The dry run plans what upgrade plans — the whole resolved graph where upgrade works it — so --transitive only decides which rows the table lists. That makes outdated as slow as upgrade --dry-run on the same project. The two agree given the same effective flags; mind that outdated defaults to --major and upgrade does not. Under --offline there is no dry run, since it needs the registry: the rows are the per-package verdicts, and a warning says how many adoptable rows went unverified.

What it shows by default#

  • Direct dependencies only in the table. Add --transitive to list indirect dependencies too.
  • Actionable rows only — dependencies that are already up-to-date are hidden. Add --all to include them.
  • Cross-major candidates are visible. Unlike upgrade, outdated shows a new major so it is discoverable; add --no-major (alias --minor) to stay within the current major — useful for clean CI output.

An explicit manifest upper comparator is intentional policy: >=5 <6 holds a dependency below 6, while the implicit ceiling in ^5 does not. A package-level config max-major = 5 likewise holds the dependency at 5.x. Held rows name the reason in the table (bound >=5 <6, max-major 5, pinned, and so on); JSON reports the same information in the additive heldBy field.

Two npm-family safeguards refine what counts as adoptable:

  • The latest dist-tag caps adoption. The tag is the maintainer’s own “this is current” pointer — what a bare npm install <pkg> resolves to under npm’s default configuration — so a stable release above it (a premature or abandoned major the maintainer kept releasing below, like a 17.0.0 published months before the 16.x line continued) is held rather than proposed: the row reads dist-tag latest 16.13.0 while Latest still shows the newer version for context. A project already pinned above the tag is unaffected (a pin beyond the tag deactivates the ceiling entirely — a project deliberately riding a next line keeps seeing newer releases), and --no-respect-dist-tags is the deliberate escape hatch. The tag — like every npm listing cooldown reads — comes from the public registry (registry.npmjs.org); a project resolving from a private registry or mirror whose tags diverge should opt out. In cooldown.toml the same opt-out goes under [global] or a command section:

    [global]
    respect-dist-tags = false
  • Peer contracts block infeasible majors. A matured cross-major target that a still-present dependent’s recorded peer range excludes (fumadocs-mdx peer-requires fumadocs-core@^16 while the target is 17.0.0) is reported blocked by fumadocs-mdx instead of adoptable, unless a matured release on the current major lands instead, which the row then reports — pnpm’s resolver only warns on that break, and npm, which rejects it by default, commits it under relaxed enforcement such as legacy-peer-deps. The way forward is to upgrade the dependent — or, when the dependent is a workspace-local package (a workspace:* package, symlinked or injected), to edit its own peerDependencies range, since a local package never moves in a run. The two package managers then differ:

    • pnpm: both can move in the same run. Its whole-graph resolve decides the pair’s joint feasibility, and the result is re-checked — a landing that provably breaks a recorded peer contract between packages your workspace itself declares, in a context that demonstrably binds them (npm’s hoisted tree is judged physically, pnpm importers by their own declarations) is rejected. Contracts involving transitive packages, contexts that never bind the moved copy, or unprovable ranges stay the resolver’s call, so still review its peer warnings on a joint move.
    • npm: there is no joint resolve, so the target stays blocked while the dependent moves. A dependent move that would itself break the contract is rolled back after the fact (see upgrade), and otherwise the next run reads the dependent’s new peer range and releases the block if it now admits the target.

Flags#

FlagEffect
--transitiveAlso list transitive (indirect) dependencies.
--allAlso list up-to-date dependencies.
--hide-pinnedHide held rows (exact pins, commit pins) that have no actionable update.
--whyPrint, below the table, why each blocked row is blocked — the reason the upgrade resolve gives, as upgrade --dry-run would show for that row: the capping package and its requirement for a graph ceiling, or the resolver’s own explanation for a rejected resolve (see held candidates). --json always carries it as blockedReason.
--countdown <which>Which still-cooling upgrade the Cooldown column counts down to when several newer versions exist.
--exit-code[=N]Exit non-zero when adoptable updates exist, for CI gating. Bare --exit-code means 1.
--lockRefresh lockfiles before reading them (mutates lockfiles; ignored under --dry-run). Cargo runs cargo update --workspace (a locked version the manifests still admit stays put; one they no longer admit is re-resolved or dropped) and pnpm runs pnpm install --lockfile-only; the other tools have no standalone refresh, say so with a warning, and read the existing lock as-is. Only the projects the run evaluates are refreshed (-C incubator refreshes the nested workspace’s lock, not the enclosing one’s), and every such project is refreshed before --package narrows the rows. A refresh the tool rejects is an error even under --allow-stale-lock, and --offline rejects the flag outright because the refresh needs the resolver’s network access.

--countdown#

When several newer versions are cooling at once, the Cooldown column can only show one. --countdown picks which:

  • soonest (default) — count down to the next version to mature. An intermediate release can clear the window days before the newest one does, so this shows the soonest unlock. The candidate is named in parentheses when it differs from Latest (e.g. 28d/30d (0.4.30)).
  • latest — count down to the newest version, the longest wait.

It is display-only: it changes which candidate’s age/window you see, never what is adoptable.

--exit-code#

outdated is informational and exits 0 by default. --exit-code turns it into a soft gate — for a nightly job that should flag when adoptable updates have piled up:

cooldown outdated --exit-code       # exit 1 if anything is adoptable
cooldown outdated --exit-code=2     # or a custom code

Pair it with --no-major to ignore cross-major bumps that you don’t want the job to nag about.

Presentation#

Several global flags shape the table without changing the policy:

  • --list-packages: one source package per line instead of first (+N others).
  • --paths: show Used by as workspace paths.
  • --show-projects: attribute each row to its project in a multi-project repo.
Esc

Type # for headings only ↑↓ move ↵ open Ctrl ↵ new tab Ctrl U/D scroll preview

Keyboard shortcuts

/ ⌘ K Ctrl K
Search
← →
Previous or next page
?
Show these shortcuts