Skip to content

Chore: add Bun minimum release age#9

Merged
vincentmvdm merged 2 commits into
mainfrom
cursor/add-package-minimum-dd1d
Jun 4, 2026
Merged

Chore: add Bun minimum release age#9
vincentmvdm merged 2 commits into
mainfrom
cursor/add-package-minimum-dd1d

Conversation

@vincentmvdm

@vincentmvdm vincentmvdm commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Tip

🎬 Watch the walkthrough: Add Bun minimum release age policy to bunfig.toml

Generated by Mainframe. Mainframe automatically generates videos when new pull requests are opened. Configure here.


Summary

  • Add a root bunfig.toml install policy requiring npm package versions to be at least 604800 seconds (seven days) old before Bun resolves them.
  • Protect future bun install/add/update resolution in the plugin repo from freshly published supply-chain attacks.

Tests

  • npm exec --yes --package bun@1.3.1 -- bun ci
  • npm exec --yes --package bun@1.3.1 -- bun run verify

Note

Low Risk
Single config-only change to dependency resolution timing; no application logic or security-sensitive runtime behavior.

Overview
Adds a root bunfig.toml install policy so Bun only resolves npm package versions that are at least 604800 seconds (7 days) old.

This applies to future bun install / add / update resolution in the repo and is meant to reduce exposure to freshly published supply-chain packages; CI already runs bun ci on Bun 1.3.1 and will pick up the config automatically.

Reviewed by Cursor Bugbot for commit eb7dbd6. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread bunfig.toml
@vincentmvdm

Copy link
Copy Markdown
Contributor Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

1 issue from previous review remains unresolved.

Fix All in Cursor

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit eb7dbd6. Configure here.

@vincentmvdm vincentmvdm requested review from atlou and jordansinger June 4, 2026 21:26
@vincentmvdm vincentmvdm marked this pull request as ready for review June 4, 2026 21:26
@vincentmvdm vincentmvdm merged commit 53e63d4 into main Jun 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants