task: #3635684 Update Node.js to >= 24.0

Moves the Node.js pins on 8.x-6.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/3635684

  • package.json: engines "node": ">= 24.0".
  • Dependency ranges use carets, ^MAJOR.MINOR.PATCH, as Drupal core's package.json does. No major changes.
  • CI: not present.
  • DDEV: not present.
  • Upsun: not present.
  • Lockfiles are no longer committed: none was tracked, and .gitignore now ignores them.

Checked in node:24 (v24.22.2) with no lockfile present: npm install fails building node-sass 4.14.1 (through gulp-sass 4). The unchanged 8.x-6.x branch fails the same way on Node 20.20.2, so this is not new.

Remaining tasks

  • Replace gulp-sass 4 / node-sass 4.14.1, which does not build on Node 20 or 24 (already broken before this change).

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

Merge request reports

Loading
Loading