Skip to content

build: require Node 24.19.0 and npm 11.17.0 - #12

Merged
yokuze merged 1 commit into
silvermine:masterfrom
velocitysystems:build/node-24.19-npm-11.17-min-release-age
Aug 18, 2026
Merged

build: require Node 24.19.0 and npm 11.17.0#12
yokuze merged 1 commit into
silvermine:masterfrom
velocitysystems:build/node-24.19-npm-11.17-min-release-age

Conversation

@velocitysystems

@velocitysystems velocitysystems commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Why

npm's min-release-age / min-release-age-exclude refuse to install package versions that
have not been public for a given number of days — a cheap, high-leverage mitigation against
registry compromises like Shai-Hulud/ChainDrop, which arrive as freshly published versions of
otherwise-trusted packages.

Those flags require npm >= 11.14.0. This repo pins npm 11.8.0 via check-node-version, so
they are currently unavailable. Node 24.19.0 (Krypton LTS) bundles npm 11.17.0 exactly, so
a single .nvmrc bump delivers both.

This PR is only the toolchain upgrade that makes those flags usable. It deliberately does not
set any release-age policy itself, so .npmrc is untouched.

What changed

File Change
.nvmrc 24.13.124.19.0
package.json check-node-version --npm 11.17.0

No .npmrc, dependency, or lockfile changes.

Verification

  • Confirmed against nodejs.org release metadata that Node v24.19.0 ships npm 11.17.0, so the
    .nvmrc bump alone pins both versions.
  • Confirmed npm 11.17.0 supports min-release-age and min-release-age-exclude (added in
    npm 11.14.0), so the upgrade achieves its stated purpose.

@velocitysystems
velocitysystems requested a review from a team August 15, 2026 20:15
@velocitysystems
velocitysystems force-pushed the build/node-24.19-npm-11.17-min-release-age branch from d012553 to 6dfe90c Compare August 15, 2026 20:18
@velocitysystems velocitysystems changed the title build: require Node 24.19.0 and npm 11.17.0 for release-age gate build: require Node 24.19.0 and npm 11.17.0 Aug 15, 2026
@velocitysystems
velocitysystems force-pushed the build/node-24.19-npm-11.17-min-release-age branch from 6dfe90c to 2bd0d6c Compare August 15, 2026 20:29
@velocitysystems
velocitysystems force-pushed the build/node-24.19-npm-11.17-min-release-age branch from 2bd0d6c to d3875aa Compare August 18, 2026 10:09
@yokuze
yokuze merged commit 393f308 into silvermine:master Aug 18, 2026
1 check 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