Skip to content

fix: don't apply min-release-age in npm audit signatures#9430

Merged
owlstronaut merged 1 commit into
npm:latestfrom
JamieMagee:fix/audit-signatures-min-release-age
May 28, 2026
Merged

fix: don't apply min-release-age in npm audit signatures#9430
owlstronaut merged 1 commit into
npm:latestfrom
JamieMagee:fix/audit-signatures-min-release-age

Conversation

@JamieMagee
Copy link
Copy Markdown
Contributor

audit signatures checks the exact versions already installed, but min-release-age/before was being passed into the manifest lookup and failing with ETARGET on versions npm ci had just installed. Setting before: null for that lookup fixes it. Fixes #9277.

@JamieMagee JamieMagee marked this pull request as ready for review May 28, 2026 20:55
@JamieMagee JamieMagee requested review from a team as code owners May 28, 2026 20:55
@JamieMagee JamieMagee changed the title fix(audit): don't apply min-release-age before filter when verifying … fix: don't apply min-release-age in npm audit signatures May 28, 2026
@owlstronaut owlstronaut merged commit b97edc0 into npm:latest May 28, 2026
23 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Backport to release/v11 created: #9431

@JamieMagee JamieMagee deleted the fix/audit-signatures-min-release-age branch May 28, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] npm audit signatures returns ETARGET on lockfile-pinned versions younger than min-release-age

2 participants