I'm just curious about this. This morning I installed a package using npm, and I got a warning about a vulnerability. I ran the 'npm audit' command and it gave me some information about a vulnerability that has been detected in one of the previously installed packages.
It says that to fix this vulnerability, all you need to do is run 'npm audit fix'. Sounds a little too good to be true, so I googled around, and did find at least one article advising against doing this, for the reason that immediately occurred to me: you might install the 'fix' and suddenly a load of the functionality you needed has been deprecated/disappeared and the application crashes like a Michael Bay movie.
I had a google for this 'vulnerability' as well but couldn't find much information about it.
This is more just a speculative question, does anyone have any thoughts on 'npm audit fix'? Has anyone used it and had it break something? I'm always wary of this kind of thing.
It says that to fix this vulnerability, all you need to do is run 'npm audit fix'. Sounds a little too good to be true, so I googled around, and did find at least one article advising against doing this, for the reason that immediately occurred to me: you might install the 'fix' and suddenly a load of the functionality you needed has been deprecated/disappeared and the application crashes like a Michael Bay movie.
I had a google for this 'vulnerability' as well but couldn't find much information about it.
This is more just a speculative question, does anyone have any thoughts on 'npm audit fix'? Has anyone used it and had it break something? I'm always wary of this kind of thing.


