-
Notifications
You must be signed in to change notification settings - Fork 2.4k
chore(deps): update node.js to v20.19.5 #5456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| v20.19.2 | ||
| 20.19.5 | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1 +1 @@ | ||||||||
| nodejs 20.19.2 | ||||||||
| nodejs 20.19.5 | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P3] Consider also pinning pnpm here to mirror packageManager ([email protected]) so asdf-managed environments use the same pnpm version.
Suggested change
|
||||||||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |||||||
| "name": "roo-code", | ||||||||
| "packageManager": "[email protected]", | ||||||||
| "engines": { | ||||||||
| "node": "20.19.2" | ||||||||
| "node": "20.19.5" | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P2] Consistency: Other repo files still pin Node 20.19.2 (e.g., .github/actions/setup-node-pnpm/action.yml default, packages/evals/scripts/setup.sh install/check, packages/evals/README.md). Consider updating these to 20.19.5 in this PR so CI/dev environments stay aligned. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P3] Consider using a semver range for engines.node (e.g., ">=20.19.5 <21") to reduce churn and avoid blocking contributors on patch updates. Tooling (.nvmrc/.tool-versions) pins the concrete version for dev/CI, so this remains safe. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P2] Consider using a semver range for engines.node (>=20.19.5 <21) instead of an exact pin. This avoids unnecessary churn with patch releases while still preventing breaking major upgrades. Align with .nvmrc/.tool-versions as needed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P3] Consider adding engines.pnpm to mirror packageManager and enforce pnpm compatibility. This helps prevent mismatched pnpm versions in environments that respect engines.
Suggested change
|
||||||||
| }, | ||||||||
| "scripts": { | ||||||||
| "preinstall": "node scripts/bootstrap.mjs", | ||||||||
|
|
||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -11,7 +11,7 @@ | |||||
| }, | ||||||
| "engines": { | ||||||
| "vscode": "^1.84.0", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P2] Avoid duplicating engines.node across root and src/package.json. VS Code extensions run on the extension host's Node bundled with VS Code; pinning engines.node here can block installs unnecessarily. Consider removing engines.node from src/package.json and rely on the root engines plus .nvmrc/.tool-versions for dev/CI pinning. |
||||||
| "node": "20.19.2" | ||||||
| "node": "20.19.5" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P3] Consider using a semver range for engines.node (e.g., ">=20.19.5 <21") to reduce churn and avoid blocking contributors on patch updates. Tooling in the repo (.nvmrc/.tool-versions) still pins a concrete version for dev/CI.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P2] Mirror the semver range suggestion for engines.node here as well (>=20.19.5 <21) to keep developer environments consistent without forcing exact patch matching. |
||||||
| }, | ||||||
| "author": { | ||||||
| "name": "Roo Code" | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P2] The leading 'v' was removed (was 'v20.19.2' -> now '20.19.5'). Some tools and scripts expect the canonical 'v' prefix in .nvmrc. Suggest keeping the prefix for consistency with prior file and common nvm conventions.