Skip to content

Add npm cooldown for minimal age of releases - #11126

Open
Odilhao wants to merge 1 commit into
theforeman:developfrom
Odilhao:add-cooldown-npm-releases
Open

Add npm cooldown for minimal age of releases#11126
Odilhao wants to merge 1 commit into
theforeman:developfrom
Odilhao:add-cooldown-npm-releases

Conversation

@Odilhao

@Odilhao Odilhao commented Aug 4, 2026

Copy link
Copy Markdown
Member

Introduces minimal age for npm packages, this allow us to have less exposure to compromised npm packages.

@adamruzicka adamruzicka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the changelog[1], the min-release-age was released in npm-11.10.0. Should we also bump required npm version from >=8.0.0 to >=11.10.0?

[1] - https://github.com/npm/cli/releases/tag/v11.10.0

@stejskalleos

Copy link
Copy Markdown
Contributor

Introduces minimal age for npm packages, this allow us to have less exposure to compromised npm packages.

As someone who never heard of this feature, I would welcome more descriptive commit message on what exactly is going on and how does it work, for example when package is too new and so on.

@adamruzicka

Copy link
Copy Markdown
Contributor

To elaborate on my previous comment, on my primary dev machine I seem to have npm-10.9.8. With this change applied, I'd have false sense of security while npm merilly ignores the unknown entry

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.

3 participants