I'm puzzled by the fact that I can't seem to find a solution to this seemingly easy question. It's surprising that even running npm update
doesn't resolve the issue.
While I can't post my entire dependency tree here, I'll do my best to explain the problem:
The version of minimist currently being used is outdated (1.2.0) and poses a security risk in this state. Despite packages requiring minimist specifying ^1.2.0 - which should be compatible with 1.2.2.
The standard fix involves adding it to either devDependencies
or dependencies
in package.json
with ^1.2.2. However, I prefer not to modify package.json
. I believe that npm update
should also address indirect dependencies.
Is there something obvious I am overlooking?
You can view my package-lock.json file here: https://github.com/tflori/riki-community/blob/master/package-lock.json
And here is the output of npm ls minimist
:
*output as provided from original text*