mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
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:
parent
953c7773c0
commit
21ae77e69f
8 changed files with 10 additions and 10 deletions
2
.github/actions/setup-node-pnpm/action.yml
vendored
2
.github/actions/setup-node-pnpm/action.yml
vendored
|
|
@ -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
2
.nvmrc
|
|
@ -1 +1 @@
|
|||
v20.19.2
|
||||
v20.20.0
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
nodejs 20.19.2
|
||||
nodejs 20.20.0
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"vscode": "^1.84.0",
|
||||
"node": "20.19.2"
|
||||
"node": "20.20.0"
|
||||
},
|
||||
"author": {
|
||||
"name": "Roo Code"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue