Skip to content

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

Open
judeallred wants to merge 1 commit into
developfrom
jallred/node-24-min-release-age
Open

Upgrade to Node 24 and add min-release-age#240
judeallred wants to merge 1 commit into
developfrom
jallred/node-24-min-release-age

Conversation

@judeallred

Copy link
Copy Markdown

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

Co-authored-by: Cursor <cursoragent@cursor.com>
@judeallred
judeallred requested a review from justinengland May 21, 2026 20:12
@judeallred

Copy link
Copy Markdown
Author

Note: Pre-existing CI failure (unrelated to this PR)

The macOS build jobs fail during the post-job cleanup step — apple-actions/import-codesign-certs tries to delete signing_temp.keychain which doesn't exist, producing exit code 50. The actual macOS builds succeed; only the cleanup step errors.

This is a repo-level infrastructure issue that predates this PR (the Node 24 upgrade + .npmrc changes don't touch signing or macOS config). Guidance from a repository maintainer is needed to proceed — either fix the keychain cleanup separately or confirm this PR can be merged despite the pre-existing failure.

See SEC-1019 for full context on this effort.

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.

1 participant