Skip to content

chore: add 24h package manager cooldown - #7

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

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

Conversation

@gugu

@gugu gugu commented Mar 31, 2026

Copy link
Copy Markdown
Member

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

Copilot AI 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.

Pull request overview

Adds a package-manager configuration intended to enforce a “cooldown” before newly released packages can be installed.

Changes:

  • Introduces a new root .npmrc setting: min-release-age=1.

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

Comment thread .npmrc
@@ -0,0 +1 @@
min-release-age=1

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

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

PR title mentions a 24h cooldown, but the config value here is just 1, which is ambiguous without a unit. Please either use an explicit 24h value (if the setting supports units) or update the PR title/description to match the actual semantics of min-release-age=1 (e.g., 1 day vs 1 hour).

Copilot uses AI. Check for mistakes.
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