Update node to v25, update glob to resolve High Dependabot vulnerability#18927
Update node to v25, update glob to resolve High Dependabot vulnerability#18927timvaillancourt wants to merge 6 commits intovitessio:mainfrom
node to v25, update glob to resolve High Dependabot vulnerability#18927Conversation
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
mattlord
left a comment
There was a problem hiding this comment.
We also need to update the "build on" docs pages: https://vitess.io/docs/contributing/
We need to update and clarify the required node versions there.
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
GrahamCampbell
left a comment
There was a problem hiding this comment.
Node v24 would be more normal. Node odd versions are beta builds, and major stale.
@GrahamCampbell I didn't know that, thanks! v24 makes more sense For now I think we're blocked on the NPM project. The latest NPM 11 still depends on the vulnerable |
I'd also like to add my 2 cents that Node v22 should continue to be the version we target. v22 will be supported till April 2027, and unless we have a real, hard requirement to use a newer version, we should stick to that. As I also think it's wrong to depend on |
|
See #18931 for a PR that removes the dependency on |
Description
This PR updates
nodeto the latest-stablenodev25 versionAn increased
node+npmversion was required to resolve thisHighDependabot vuln: https://github.com/vitessio/vitess/security/dependabot/435 - theglobversion with the fix required a newernpmversionI'm not seeing anything out-of-place in VTAdmin after these changes:

On backporting: I'm torn. On one hand we have a
Highvulnerability, but changing the required version ofnode+npmseems like a drastic change that typically we tie with a new major version. So I'm equally on-board with backporting this or notRelated Issue(s)
https://github.com/vitessio/vitess/security/dependabot/435
Checklist
Deployment Notes
AI Disclosure