build: update dependency which to v7#3656
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates the which dependency from version 6.0.1 to 7.0.0. A review comment identifies that which@7.0.0 introduces restrictive Node.js engine requirements that are incompatible with the project's current environment and other dependencies. It is recommended to revert to version 6.0.1 to maintain compatibility and prevent installation failures.
| "typescript": "6.0.3", | ||
| "utf-8-validate": "6.0.6", | ||
| "which": "6.0.1", | ||
| "which": "7.0.0", |
There was a problem hiding this comment.
The update to which@7.0.0 introduces significantly more restrictive Node.js engine requirements: ^22.22.2 || ^24.15.0 || >=26.0.0. This version drops support for Node.js 20 and earlier versions of Node.js 22 and 24.
Since other dependencies in this project (such as @angular-devkit/core) still support Node.js 20, and the project's own @types/node is at 24.12.2 (which is below the 24.15.0 minimum for the v24 range), this update will likely cause installation failures or runtime issues in many environments. It is recommended to revert to which@6 to maintain compatibility unless a project-wide Node.js version bump is intended.
| "which": "7.0.0", | |
| "which": "6.0.1", |
This PR contains the following updates:
6.0.1→7.0.0Release Notes
npm/node-which (which)
v7.0.0Compare Source
whichnow supports node^22.22.2 || ^24.15.0 || >=26.0.0Features
471d90b#176 bump to new node engine range (@owlstronaut)8aac36f#176 template-oss-apply (@owlstronaut)Chores
9bdf003#176 template-oss-apply (@owlstronaut)