Run on Node 22 (Node.js Oct 2026 security release) #1
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/cas_ban_bot!1
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?
Why
Node 16 is EOL and does not get the Node.js Oct 21 2026 security release. This moves the bot to Node 22 (fixed line 22.23.4).
Change
.nvmrc:v16.17.0->v22(Nixpacks picksnodejs_22)nixpacks.toml: pin[phases.setup] nixpkgsArchiveto nixos-26.05 revcd4ea8d57de16f4810bc5f14207bac45fbf19f67(nodejs_22 22.23.3). It will be swapped for a rev carrying 22.23.4 once that reaches the channel, before merge/deploy.Smoke test
nixpacks build .locally, then ran the start command (node dist/app.js) in the image for 20 s with a fake bot token:Gets as far as calling Telegram and fails only on the fake token.
🤖 Generated with Claude Code