Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[install]
# Only install packages published at least 7 days ago.
minimumReleaseAge = 604800
Comment on lines +1 to +3
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.

P2 Without a minimumReleaseAgeExcludes list, the 7-day gate applies to every package — including security-critical ones like bun, zod, or @types/bun. If a CVE fix or urgent patch lands on a dependency, no one on the team can install it for a week without manually passing --minimum-release-age 0 on every invocation. Excluding a small set of high-trust, frequently-patched packages is the standard mitigation (see the Bun docs).

Suggested change
[install]
# Only install packages published at least 7 days ago.
minimumReleaseAge = 604800
[install]
# Only install packages published at least 7 days ago.
minimumReleaseAge = 604800
# Exclude high-trust packages that may need urgent security patches.
minimumReleaseAgeExcludes = ["bun", "typescript"]
Prompt To Fix With AI
This is a comment left during a code review.
Path: bunfig.toml
Line: 1-3

Comment:
Without a `minimumReleaseAgeExcludes` list, the 7-day gate applies to every package — including security-critical ones like `bun`, `zod`, or `@types/bun`. If a CVE fix or urgent patch lands on a dependency, no one on the team can install it for a week without manually passing `--minimum-release-age 0` on every invocation. Excluding a small set of high-trust, frequently-patched packages is the standard mitigation (see the [Bun docs](https://bun.com/docs/pm/cli/install#minimum-release-age)).

```suggestion
[install]
# Only install packages published at least 7 days ago.
minimumReleaseAge = 604800

# Exclude high-trust packages that may need urgent security patches.
minimumReleaseAgeExcludes = ["bun", "typescript"]
```

How can I resolve this? If you propose a fix, please make it concise.

Loading