How to update version of a dependency which is required by other dependencies.
├─┬ vue-svgicon@3.2.9
│ └─┬ yargs@12.0.5
│ └── yargs-parser@11.1.1
In my case, yargs-parser needs to be updated to 13.1.1. Making any changes in the package-lock.json just overwrites it when you run npm install.
npm audit fix doesnt update it eithernpm-shrinkwrap.json as an override for package-lock.json but want to find out some other alternative."resolutions"
in the package.json file in addition to
"preinstall": "npm-force-resolutions"
but this adds an additional dependency of npm-force-resolutions which is not desired