Skip to content

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

Open
@maslycht

Description

@maslycht

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions