pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

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

Open terrencekhng opened this issue 4 years ago • 5 comments

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

terrencekhng avatar Dec 04 '21 10:12 terrencekhng

any update on this?

enkr1 avatar Jun 05 '24 10:06 enkr1

@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.

eliliam avatar Jun 05 '24 20:06 eliliam

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

NicmeisteR avatar Jun 06 '24 10:06 NicmeisteR

Should be fixed in https://github.com/keymetrics/pm2-io-apm/pull/303

egoroof avatar Jul 03 '24 17:07 egoroof

should be fixed in v5.4.2

egoroof avatar Jul 08 '24 11:07 egoroof