Skip to content

chore: add 24h package manager cooldown#20

Open
gugu wants to merge 1 commit intomasterfrom
chore/add-minimum-release-age
Open

chore: add 24h package manager cooldown#20
gugu wants to merge 1 commit intomasterfrom
chore/add-minimum-release-age

Conversation

@gugu
Copy link
Copy Markdown
Member

@gugu gugu commented Mar 31, 2026

Add min-release-age=1 to .npmrc

Adds min-release-age=1 (1 day) to .npmrc to protect against
supply chain attacks from newly published packages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 31, 2026 12:55
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an npm configuration intended to enforce a minimum “release age” before newly published package versions are considered during installs, providing a 24h-style cooldown mechanism via .npmrc.

Changes:

  • Introduce a repository-level .npmrc.
  • Set min-release-age=1 in .npmrc.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants