You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[rush] Support pnpm's minimumReleaseAge setting #5372
There have been at least two high profile supply chain attacks on npm recently and this setting is designed to mitigate these attacks by requiring a minimum age on the installed versions. Most attacks are discovered and removed within 24 hours and having access to this setting will help prevent supply chain attacks in my project and others.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question
Answer
@microsoft/rush globally installed version?
5.149.1
rushVersion from rush.json?
5.149.1
useWorkspaces from rush.json?
true
Operating system?
Linux
Would you consider contributing a PR?
Yes
Node.js version (node -v)?
22.14.0
Reacted by Romek Szwarc, Wiktor Tumiński, Greg Balnis and yurii20041
This should be added as an option to common/config/rush/pnpm-config.json. It shouldn't be too difficult to implement. We don't have immediate plans to implement this, but we would welcome a community contribution.
Hi Ian Clanton-Thuon (@iclanton) I'm also looking for that feature. Could you please give some hints on where to start/look at initially to start implementation?
Activity
marcin-kazmierczak commentedon Sep 23, 2025
Maybe as alternative could be handled by updateConfig hook https://pnpm.io/pnpmfile#hooksupdateconfigconfig-config--promiseconfig but from I can see it's not supported by rush at this moment.
wtuminski commentedon Oct 6, 2025
Hi Ian Clanton-Thuon (@iclanton)!
Are there any plans to support it?
iclanton commentedon Oct 6, 2025
This should be added as an option to
common/config/rush/pnpm-config.json. It shouldn't be too difficult to implement. We don't have immediate plans to implement this, but we would welcome a community contribution.PrzemyslawMikos commentedon Oct 7, 2025
Hi Ian Clanton-Thuon (@iclanton) I'm also looking for that feature. Could you please give some hints on where to start/look at initially to start implementation?
mrzepinski commentedon Oct 7, 2025
I'm preparing the PR for it, so let's wait a bit PrzemyslawMikos Wiktor Tumiński (@wtuminski) Marcin Kazmierczak (@marcin-kazmierczak)
[rush-lib] Add support for PNPM's minimumReleaseAge setting
[rush-lib] Add support for PNPM's minimumReleaseAge setting
[rush-lib] Add support for PNPM's minimumReleaseAge setting (microsof…
briancmpbll commentedon Oct 15, 2025
When will this be available in a released version of rush? I don't see it in the most recently released version tag.
arnklint commentedon Dec 1, 2025
Hmm, it's in the 5.161.0 changelog but the schema nor the docs are up to date?