Skip to content

feat: warn when min-release-age blocks an audit fix - #9564

Merged
owlstronaut merged 1 commit into
release/v11from
backport/v11/9544
Jun 18, 2026
Merged

feat: warn when min-release-age blocks an audit fix#9564
owlstronaut merged 1 commit into
release/v11from
backport/v11/9544

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #9544 to release/v11.

`npm audit fix` left a package on its vulnerable version, with no
warning, when the only patched version was newer than the
`min-release-age`/`before` cutoff. It now warns which fix was blocked
and exits non-zero. Honors `min-release-age-exclude`.

(cherry picked from commit be8053c)
@owlstronaut
owlstronaut merged commit 073253f into release/v11 Jun 18, 2026
63 checks passed
@owlstronaut
owlstronaut deleted the backport/v11/9544 branch June 18, 2026 14:55
@github-actions github-actions Bot mentioned this pull request Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants