3 ms·
> I don’t want “a version compatible with lib 0.1.0” I want lib 0.1.0 ... package-lock is a strange bandaid over this. Doesn't plain semver in your package.jso
by rodw 6y ago
> I don’t want “a version compatible with lib 0.1.0” I want lib 0.1.0 ... package-lock is a strange bandaid over this.
Doesn't plain semver in your package.json dependencies already give you this capability?
```
{ "dependencies": { "foo" : "2.0.1" } }
```
Should yield version 2.0.1 _exactly_. It's the use of modifiers like ~ and ^ that yield the fuzzy matching.
https://docs.npmjs.com/files/package.json#dependencies https://docs.npmjs.com/files/package.json#dependencies