Skip to content

[DEP0060] DeprecationWarning: The util._extend API is deprecated. #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
maslycht opened this issue Feb 18, 2025 · 0 comments
Open
Assignees

Comments

@maslycht
Copy link
Owner

Issue

(node:23036) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

The issue is coming from the node-http-proxy package, which is a dependency of http-proxy-middleware.

Possible Fix

They have a PR in their repo which was recently merged (http-party/node-http-proxy#1666), so we may expect a new version to be published soon. Then we can simply update the dependency.

Alternatively, a patch could be applied using patch-package.

@maslycht maslycht self-assigned this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant