In my project, I use "laravel-mix", which depends on "webpack-dev-server"
"npm audit" reports a high severity vulnerability on my version webpack-dev-server so I've been trying to update it to the latest version.. but with no success.
I've tried
npm update
npm update webpack-dev-server
npm update laravel-mix
with no success.. I guess the issue is that laravel-mix is already up-to-date, yet its dependency is not..
I've tried to add as a dependency a later version of webpack-dev-server hoping it would replace the old one, but instead, I just the two versions co-existing:
npm ls webpack-dev-server
+-- [email protected]
| `-- [email protected]
`-- [email protected]
Is there a way for me to force the update of the webpack-dev-server dependency? I need laravel-mix for this project, and as my assets are compiled on the production server, I can't even set it as a dev-only dependency..