Filter Packages by Release Age with Bun
The --minimum-release-age flag tells bun install to ignore package versions published more recently than a given threshold (in seconds). Useful for avoiding freshly-pushed malicious or broken releases.
bun add @types/bun --minimum-release-age 259200The example above only installs versions published at least 3 days (259,200 seconds) prior.
You can make this persistent in bunfig.toml:
[install]minimumReleaseAge = 259200minimumReleaseAgeExcludes = ["@types/node", "typescript"]minimumReleaseAgeExcludes lets you bypass the age gate for packages you already trust.