Files
pnpm/.changeset
Zoltan Kochan 6ea6aaf72c fix(install): deduplicate minimum release age approval output (#15090)
Resolution can return the same immature package version in multiple dependency contexts. Filter those records by name and version in the minimumReleaseAge handler, keeping distinct versions and the existing sorting and approval behavior.

Dialoguer clears only the current line before rendering the selected answer. Give it only the approval question and write the preceding version list once while the reporter is paused. Preserve prompt errors, default denial, and exclude persistence.

Cover duplicated records in approval and non-interactive tests in both CLI versions. Both approval regressions retain multiple versions of one package. A Unix pseudo-terminal CLI regression checks that answering the real prompt prints the version list once and persists the approved exclusions.

Closes pnpm/pnpm#15083.
2026-09-19 12:10:03 +02:00
..