chore: Upgrade Node.js to v20.20.0 for security enhancements

This commit upgrades Node.js from v20.19.2 to v20.20.0.

This release includes security patches that address known
vulnerabilities, improving the overall security posture.

Reference:
- https://nodejs.org/en/blog/release/v20.20.0/
- https://nodejs.org/en/blog/vulnerability/january-2026-dos-mitigation-async-hooks/
This commit is contained in:
Peter Dave Hello 2026-01-26 02:26:39 +08:00
parent 953c7773c0
commit 21ae77e69f
8 changed files with 10 additions and 10 deletions

View file

@ -6,7 +6,7 @@ inputs:
node-version:
description: "Node.js version to use"
required: false
default: "20.19.2"
default: "20.20.0"
pnpm-version:
description: "pnpm version to use"
required: false

2
.nvmrc
View file

@ -1 +1 @@
v20.19.2
v20.20.0

View file

@ -1 +1 @@
nodejs 20.19.2
nodejs 20.20.0

View file

@ -2,7 +2,7 @@
"name": "roo-code",
"packageManager": "pnpm@10.8.1",
"engines": {
"node": "20.19.2"
"node": "20.20.0"
},
"scripts": {
"preinstall": "node scripts/bootstrap.mjs",

View file

@ -50,7 +50,7 @@ ENV MISE_DATA_DIR="/root/.local/share/mise"
ENV PATH="/root/.local/share/mise/shims:/root/.local/bin:$PATH"
# Define language runtime versions (matching setup.sh)
ARG NODE_VERSION=20.19.2
ARG NODE_VERSION=20.20.0
ARG PYTHON_VERSION=3.13.2
ARG GO_VERSION=1.24.2
ARG RUST_VERSION=1.85.1

View file

@ -81,7 +81,7 @@ cd packages/evals && ./scripts/setup.sh
The setup script does the following:
- Installs development tools: Homebrew, asdf, GitHub CLI, pnpm
- Installs programming languages: Node.js 20.19.2, Python 3.13.2, Go 1.24.2, Rust 1.85.1, Java 17
- Installs programming languages: Node.js 20.20.0, Python 3.13.2, Go 1.24.2, Rust 1.85.1, Java 17
- Sets up VS Code with required extensions
- Configures Docker services (PostgreSQL, Redis)
- Clones/updates the evals repository

View file

@ -184,8 +184,8 @@ fi
# Install language runtimes via mise
if ! command -v node &>/dev/null; then
echo "📦 Installing Node.js via mise..."
mise install node@20.19.2 || exit 1
mise use --global node@20.19.2 || exit 1
mise install node@20.20.0 || exit 1
mise use --global node@20.20.0 || exit 1
eval "$(mise activate bash)"
NODE_VERSION=$(node --version)
echo "✅ Node.js is installed ($NODE_VERSION)"
@ -194,7 +194,7 @@ else
echo "✅ Node.js is installed ($NODE_VERSION)"
fi
if [[ $(node --version) != "v20.19.2" ]]; then
if [[ $(node --version) != "v20.20.0" ]]; then
NODE_VERSION=$(node --version)
echo "🚨 You have the wrong version of node installed ($NODE_VERSION)."
echo "💡 If you are using nvm then run 'nvm install' to install the version specified by the repo's .nvmrc."

View file

@ -11,7 +11,7 @@
},
"engines": {
"vscode": "^1.84.0",
"node": "20.19.2"
"node": "20.20.0"
},
"author": {
"name": "Roo Code"