Skip to content
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

Deprecation warning for util._extend #4344

Closed
chenjiandmw opened this issue Jan 8, 2025 · 2 comments · Fixed by #4347
Closed

Deprecation warning for util._extend #4344

chenjiandmw opened this issue Jan 8, 2025 · 2 comments · Fixed by #4347

Comments

@chenjiandmw
Copy link

Version

node: 22.13.0
pnpm: 10.0.0
@rsbuild/core: 1.1.13

Details

(node:4292) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.
at ProxyServer. (E:\Code\caretop7_cj\node_modules.pnpm@rsbuild+core@1.1.13\node_modules@rsbuild\core\compiled\http-proxy-middleware\index.js:2561:32)
at HttpProxyMiddleware.middleware (E:\Code\caretop7_cj\node_modules.pnpm@rsbuild+core@1.1.13\node_modules@rsbuild\core\compiled\http-proxy-middleware\index.js:1978:28)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Reproduce link

Reproduce Steps

pnpm dev

@chenjiahan
Copy link
Member

chenjiahan commented Jan 8, 2025

This is an issue with the http-proxy package, see chimurai/http-proxy-middleware#1017 and http-party/node-http-proxy#1666.

We will see if we can use our prebundle script or pnpm patch to fix it.

@chenjiahan
Copy link
Member

Fixed by #4347

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

Successfully merging a pull request may close this issue.

2 participants