I'm trying to update one of the dependencies in package-lock.json due to a security vulnerability with that specific version. From my Googling, I understand that you would update the package that contains that dependency. I'm running into an issue because I've updated that package to the newest version but the vulnerable package has not been updated.
I'm attempting to update yargs-parser
from 11.1.1 to the latest, which appears to be 18.1.3
+-- cli-highlight@2.1.4
| -- yargs@15.3.1
| -- yargs-parser@18.1.3
-- webpack-dev-server@3.10.3
-- yargs@12.0.5
-- yargs-parser@11.1.1
If webpack-dev-server
is already at the newest version, how can I update it's dependencies of yargs@12.0.5
and yargs-parser@11.1.1
?