The first release of the
There was one interesting feature request that came in fairly quickly. That is the ability to know why a version failed when tested against a constraint.
For example, say you want to test a version, possibly passed in by user or outside input, of
1.2.3 against the constraint
>= 1.1.1, < 2, != 1.2.3, != 1.4.5. Why did it fail? It could even be the case the constraint is passed in programmatically as well.
The 1.1.0 release of the
semver package now has the ability to tell you.
Continue Reading »