mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Upgrade Node.js to v20.19.2 for security enhancements (#4212)
This commit upgrades Node.js version from v20.18.1 to v20.19.2. This version incorporates security patches that address known vulnerabilities, improving the overall security posture. Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
This commit is contained in:
parent
03754f615d
commit
7cd89edaa4
7 changed files with 9 additions and 9 deletions
2
.github/workflows/changeset-release.yml
vendored
2
.github/workflows/changeset-release.yml
vendored
|
|
@ -9,7 +9,7 @@ on:
|
||||||
env:
|
env:
|
||||||
REPO_PATH: ${{ github.repository }}
|
REPO_PATH: ${{ github.repository }}
|
||||||
GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
|
GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
|
||||||
NODE_VERSION: 20.18.1
|
NODE_VERSION: 20.19.2
|
||||||
PNPM_VERSION: 10.8.1
|
PNPM_VERSION: 10.8.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
2
.github/workflows/code-qa.yml
vendored
2
.github/workflows/code-qa.yml
vendored
|
|
@ -9,7 +9,7 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 20.18.1
|
NODE_VERSION: 20.19.2
|
||||||
PNPM_VERSION: 10.8.1
|
PNPM_VERSION: 10.8.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
2
.github/workflows/marketplace-publish.yml
vendored
2
.github/workflows/marketplace-publish.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
|
GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
|
||||||
NODE_VERSION: 20.18.1
|
NODE_VERSION: 20.19.2
|
||||||
PNPM_VERSION: 10.8.1
|
PNPM_VERSION: 10.8.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
2
.github/workflows/nightly-publish.yml
vendored
2
.github/workflows/nightly-publish.yml
vendored
|
|
@ -9,7 +9,7 @@ on:
|
||||||
workflow_dispatch: # Allows manual triggering.
|
workflow_dispatch: # Allows manual triggering.
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 20.18.1
|
NODE_VERSION: 20.19.2
|
||||||
PNPM_VERSION: 10.8.1
|
PNPM_VERSION: 10.8.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
2
.github/workflows/update-contributors.yml
vendored
2
.github/workflows/update-contributors.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
workflow_dispatch: # Allows manual triggering
|
workflow_dispatch: # Allows manual triggering
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 20.18.1
|
NODE_VERSION: 20.19.2
|
||||||
PNPM_VERSION: 10.8.1
|
PNPM_VERSION: 10.8.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
2
.nvmrc
2
.nvmrc
|
|
@ -1 +1 @@
|
||||||
20.19.2
|
v20.19.2
|
||||||
|
|
|
||||||
|
|
@ -176,8 +176,8 @@ for i in "${!options[@]}"; do
|
||||||
case "${plugin}" in
|
case "${plugin}" in
|
||||||
"nodejs")
|
"nodejs")
|
||||||
if ! command -v node &>/dev/null; then
|
if ! command -v node &>/dev/null; then
|
||||||
asdf install nodejs 20.18.1 || exit 1
|
asdf install nodejs 20.19.2 || exit 1
|
||||||
asdf set nodejs 20.18.1 || exit 1
|
asdf set nodejs 20.19.2 || exit 1
|
||||||
NODE_VERSION=$(node --version)
|
NODE_VERSION=$(node --version)
|
||||||
echo "✅ Node.js is installed ($NODE_VERSION)"
|
echo "✅ Node.js is installed ($NODE_VERSION)"
|
||||||
else
|
else
|
||||||
|
|
@ -185,7 +185,7 @@ for i in "${!options[@]}"; do
|
||||||
echo "✅ Node.js is installed ($NODE_VERSION)"
|
echo "✅ Node.js is installed ($NODE_VERSION)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $(node --version) != "v20.18.1" ]]; then
|
if [[ $(node --version) != "v20.19.2" ]]; then
|
||||||
NODE_VERSION=$(node --version)
|
NODE_VERSION=$(node --version)
|
||||||
echo "🚨 You have the wrong version of node installed ($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."
|
echo "💡 If you are using nvm then run 'nvm install' to install the version specified by the repo's .nvmrc."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue