build: update dependency http-proxy-middleware to v4 (main)#33174
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the http-proxy-middleware dependency from version 3.0.5 to 4.0.0 in the root package.json and the Angular DevKit package. A review comment highlights that this major version upgrade introduces a significant breaking change regarding Node.js support, requiring version 22.15.0 or higher, which may conflict with the project's current support for Node.js 18 and 20.
| "globals": "17.6.0", | ||
| "http-proxy": "^1.18.1", | ||
| "http-proxy-middleware": "3.0.5", | ||
| "http-proxy-middleware": "4.0.0", |
There was a problem hiding this comment.
Updating http-proxy-middleware to v4 introduces a significant breaking change regarding Node.js version support. According to the release notes and the package's engines field, v4 requires Node.js ^22.15.0 || >=24.0.0. This is a very restrictive requirement that will likely break the build for many users and CI environments still running on Node.js 18 or 20 (which are currently supported by Angular 19). Please verify if this project is ready to enforce Node.js 22.15.0 as the minimum version.
See associated pull request for more information.
a164c0f to
06eac0b
Compare
|
This PR was merged into the repository. The changes were merged into the following branches:
|
This PR contains the following updates:
3.0.5→4.0.0Release Notes
chimurai/http-proxy-middleware (http-proxy-middleware)
v4.0.0Compare Source
targetandforwardoptions (ie. "http://[::1]:8000")