node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

Use `Object.assign` instead of deprecated `util._extend`

Open nikeee opened this issue 1 year ago • 8 comments
trafficstars

When building an app using Vite, there is this deprecationw arning when using Node.js 22:

[DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.

This PR resolves that.

Object.assign is supported since Node.js 4.

nikeee avatar Apr 25 '24 10:04 nikeee