←back to thread

441 points longcat | 2 comments | | HN request time: 0.625s | source
Show context
andix ◴[] No.45043591[source]
Are there any package managers that have something like a min-age setting. To ignore all packages that were published less than 24 or 36 hours ago?

I’ve run into similar issues before, some package update that broke everything, only to get pulled/patched a few hours later.

replies(5): >>45043774 #>>45043852 #>>45045196 #>>45045198 #>>45047987 #
VPenkov ◴[] No.45045196[source]
Not a package manager, but Renovate bot has a setting like that (minimumReleaseAge). Dependabot does not (Edit: does now).

So while your package manager will install whatever is newest, there are free solutions to keep your dependencies up to date in a reasonable manner.

Also, the javascript ecosystem seems to slowly be going in the direction of consolidation, and supply chain attacks are (again, slowly) getting tools to get addressed.

Additionally, current versions of all major package managers (NPM, PNPM, Bun, I don't know about Yarn) don't automatically run postinstall scripts - although you are likely to run them anyway because they will be suggested to you - and ultimately you're running someone else's code, postinstall scripts or not.

replies(1): >>45045201 #
1. ZeWaka ◴[] No.45045201[source]
Dependabot got it last month, actually. https://github.blog/changelog/2025-07-01-dependabot-supports...
replies(1): >>45045406 #
2. VPenkov ◴[] No.45045406[source]
Oh, happy days!