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

Replace deprecated util._extend API with Object.assign() #5238

Open
terrencekhng opened this issue Dec 4, 2021 · 5 comments
Open

Replace deprecated util._extend API with Object.assign() #5238

terrencekhng opened this issue Dec 4, 2021 · 5 comments

Comments

@terrencekhng
Copy link
Contributor

What's going wrong?

Reference: https://nodejs.org/api/util.html#util_extendtarget-source
The util._extend() method was never intended to be used outside of internal Node.js modules. There are some modules in pm2 still using this method, and it is hereafter suggested to be replaced.

How could we reproduce this issue?

N/A

Supporting information

N/A

$ pm2 report
@enkr1
Copy link

enkr1 commented Jun 5, 2024

any update on this?

@eliliam
Copy link

eliliam commented Jun 5, 2024

@Unitech could we get an update since it's been three years since the issue was created? I'm also seeing this warning happening more frequently now.

@NicmeisteR
Copy link

Yeah having this error pop up consistently is a bit of a pain , also hoping for a fix soon.

@egoroof
Copy link

egoroof commented Jul 3, 2024

Should be fixed in keymetrics/pm2-io-apm#303

@egoroof
Copy link

egoroof commented Jul 8, 2024

should be fixed in v5.4.2

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

5 participants