Run on Node 22 (Node.js Oct 2026 security release) #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/borodutch-book-backend!2
Loading…
Reference in a new issue
No description provided.
Delete branch "node-22-security"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moves the book backend from Node 16 (EOL) to Node 22 for the Node.js October 2026 security release (fixed lines are 22.23.4 / 24.22.1).
Changes
.nvmrc:v16.17.0→v22nixpacks.toml: pin[phases.setup] nixpkgsArchiveto a nixos-26.05 rev withnodejs_22. This rev ships 22.23.3. It will be bumped to a rev with 22.23.4 before merge.No dependency or code changes.
package.jsonhas noenginesfield.Smoke test
nixpacks build .givesnodejs_22. The image reportsnode -v=v22.23.3(OpenSSL 3.6.5). The book HTML is gitignored, so a minimal fakebook/wdlaty-{ru,en}.htmlwas mounted, and the env vars were fake:Without env vars it exits on envalid's "Missing environment variables" check, as expected.
yarn lint(prettier + eslint--max-warnings 0) passes on Node 22.Note: the
Borodutch/build-and-lint-code@v1.0.3CI action hardcodes Node 16, so PR CI still runs on 16.🤖 Generated with Claude Code