Repository navigation
chore: move to Node 24 for security fixes - #6
Merged
Merged
Conversation
Node 20 is end-of-life and receives no security patches. Recent Node.js security releases fix TLS hostname-check bypasses, a Brotli decompression flaw, and distrust compromised intermediate CA certificates; these fixes ship only for Node 22 and later. - Dockerfile: node:20-alpine -> node:24-alpine (both stages) - .nvmrc and CI/publish workflows: 20 -> 24 - engines: >=20 -> >=22 - README/CLAUDE.md: document the Node 24 pin via .nvmrc Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves the project off Node 20, which is end-of-life and no longer receives security patches. Recent Node.js security releases fix TLS certificate hostname-check bypasses and a Brotli decompression flaw, and distrust compromised intermediate CA certificates. These fixes are available only for Node 22 and later.
Dockerfile:node:20-alpine->node:24-alpine(builder and production stages).nvmrc, CI and publish workflows: Node 20 -> 24engines:>=20->>=22(oldest line with the fixes).nvmrc(they previously referenced a non-existent.node-version)Test plan
pnpm typecheck,pnpm test(27 passed),pnpm format:checkdocker build --pull --build-arg TRANSPORT=http .builds; image runs Node v24.22.1🤖 Generated with Claude Code