You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node.js now deprecates util._extend (DEP0060). I observed this deprecation when running a dev server that depends on http-proxy (via webpack-dev-server/http-proxy-middleware). The minimal fix is to replace occurrences of util._extend(...) with Object.assign(...).
Steps to reproduce:
Create a small project that uses http-proxy (or http-proxy-middleware with webpack-dev-server).
Start the dev server with Node 24+ or use --trace-deprecation and observe DEP0060 pointing to http-proxy's use of util._extend.
Suggested patch: replace util._extend( with Object.assign( in lib/http-proxy/index.js. This is backwards-compatible in all supported Node.js versions.
I can open a small PR with a one-line replacement plus a test if you want — let me know if you'd prefer a PR or if there are other constraints to follow for this change.