Skip to content

Upgrade to Node 24 and add min-release-age#1007

Merged
danieljperry merged 1 commit into
mainfrom
jallred/node-24-min-release-age
May 21, 2026
Merged

Upgrade to Node 24 and add min-release-age#1007
danieljperry merged 1 commit into
mainfrom
jallred/node-24-min-release-age

Conversation

@judeallred
Copy link
Copy Markdown
Contributor

@judeallred judeallred commented May 21, 2026

Summary

  • Upgrades Node.js requirement to 24.14.1+ (active LTS)
  • Adds min-release-age=1 to .npmrc, telling npm to only resolve package versions published more than 1 day ago
  • Supply-chain-attack mitigation: malicious packages are typically flagged within hours, so a 1-day quarantine avoids installing freshly-published compromised versions
  • Node 24 ships npm 11.10+, which is required for the min-release-age feature

Test plan

  • CI passes with Node 24
  • npm install works correctly
  • npm ci works correctly
  • Application builds and runs successfully

Made with Cursor


Note

Medium Risk
Medium risk because it upgrades the Node runtime used by CI workflows and raises the declared engine requirement, which can break builds or local dev if dependencies or tooling aren’t compatible with Node 24.

Overview
Upgrades the project and CI workflows to Node.js 24. GitHub Actions jobs for Crowdin sync and site deploy/review builds now run in node:24/node:24-alpine, and package.json raises the supported engine to >=24.14.1.

Adds npm supply-chain hardening. Introduces .npmrc with min-release-age=1 so installs avoid packages published within the last day.

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

Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown
Contributor

@danieljperry danieljperry left a comment

Choose a reason for hiding this comment

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

lgtm

@danieljperry danieljperry merged commit 6595d9c into main May 21, 2026
13 checks passed
@danieljperry danieljperry deleted the jallred/node-24-min-release-age branch May 21, 2026 22:53
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