Using semver as the standard, so I have this package version:
0.0.108 so in package.json for a Node.js project, I might have something like:
"foo":"^0.0.108" my question is - using semver notation, how can I tell NPM not to install anything below 0.0.108? For example, 0.0.107 is unacceptable, but 0.0.109, or 0.0.111 is ok?
^0.0.108is how you tell NPM not to install anything below 0.0.108. If you want the patch to be allowed to change, then it'd be~rather than^, as108is the "leftmost non-zero digit". See the explanations in npmjs.com/package/semver and the examples in semver.npmjs.com