My understanding is that. Assume I have a package.json file with
"bunyan": "^1.8.9"
I have installed this and it will be in my npm cache.
The latest version(in the given range) of bunyan is "^1.8.12"
If I run
npm update
Will it install latest version "1.8.12" regardless of the npm cache (and update package-lock.json file)?
If version
1.8.12satisfies1.8.9, yes it will, otherwise, no.