Loading
task: #3635749 Update Node.js to >= 24.0
Moves the Node.js pins on 5.0.x to 24, the floor Drupal core main declares in core/package.json. Node.js 20 reached end of life on 30 April 2026.
Issue: https://www.drupal.org/i/3635749
- engines:
node >= 24.0inpackage.jsonandthemes/vardoc_theme/package.json. - CircleCI: NodeSource
setup_24.x. - Ignore JavaScript lockfiles.
- Caret dependency ranges, as Drupal core does.
Checked in node:24 (v24.22.2) with no lockfile present: npm install fails on the farbtastic tarball, and fails the same way on the base branch with Node 22. Vardoc runs no GitLab CI, so there is no pipeline.
Remaining tasks
- Replace the
farbtasticGitHub tarball, which has nopackage.json;npm installalready fails on it on Node 22 -
themes/vardoc_themeusesgulp-sass4, which pulls innode-sass4.14.1; itsnpm installalready fails on Node 22
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah