- Notifications
You must be signed in to change notification settings - Fork2k
UseObject.assign instead of deprecatedutil._extend#1666
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Resolves:```[DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.```When using Node.js 22
bayasdev commentedMay 10, 2024
+1 |
Malwinderkaur commentedAug 5, 2024
When should we expect updated version with required changes for fix of this warning. |
wj17870569856 commentedSep 26, 2024
so, when we can use the updated version 😂 |
Auios commentedNov 23, 2024
Ping@indexzero |
cami-dev commentedDec 6, 2024
Any release happening for this? |
austinbiggs commentedJan 5, 2025
What would it take to get this merged? |
cami-dev commentedJan 16, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Nice that this got merged. Would be awesome with a release now been a few years :)@jcrugzz is one in the works? or prob not happening? should we be using master instead? |
lwr commentedMay 7, 2025
Now still no any progress after a year. So we have to put this patch in preinstall script ['http-proxy/lib/http-proxy/index.js','http-proxy/lib/http-proxy/common.js',// any others].map(id=>require.resolve(id)).filter(file=>/_extend/.test(fs.readFileSync(file,'utf8'))).forEach(file=>{console.log('patching',file);fs.writeFileSync(file,fs.readFileSync(file,'utf8').replaceAll("require('util')._extend",'Object.assign'));}) |
glenntws commentedJul 27, 2025
Half of all framework dev servers depend on this dependency and the fix is a few lines of codes with easy replaces and we still don't get an official patch release. wtf. |
wojtekmaj commentedJul 27, 2025
TBH this issue has been patched on Vite's side over a year ago, and this week, theydropped dependency on http-proxy, switching to a maintained fork, http-proxy-3. Which I would recommend doing as well. |
shriekdj commentedAug 20, 2025
when it will be merged |
tianyingchun commentedOct 20, 2025
any updates on this? long time no update & release |
Auios commentedOct 20, 2025
Gah, I dont even remember what I needed this PR merged for now lol |
KJ7LNW commentedOct 22, 2025
+1 Is this repository is no longer being maintained? Are there alternative projects that should be used instead? |
xiaoxiyao commentedOct 22, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
When building an app using Vite, there is this deprecationw arning when using Node.js 22:
This PR resolves that.
Object.assignissupported since Node.js 4.