compare-versions
compare-versions copied to clipboard
Compare semver version strings to find which is greater, equal or lesser.
Evaluating these conditions as false which the semvar library is evaluating to true ``` satisfies('3.0.3', '3.*') satisfies('3.0.3', '3') ``` I believe this is because no operator is supplied so they...
Hi, thanks for your work on this package! :slightly_smiling_face: While troubleshooting, I came across some unexpected results. It looks like using a non-zero patch version will always evaluate to `false`...
All these ('x', '*', '') leads to error due to invalid semver but they are allowed according to https://docs.npmjs.com/cli/v6/using-npm/semver#x-ranges-12x-1x-12- `ERROR Error: Invalid argument not valid semver ('*' received)`
compare-versions,6.1.1 According to https://semver.org/, dot-separated identifiers with letters or hyphens are sorted by ASCII values Then 1.0.0-alpha-9.9A and 1.0.0-alpha-9.10A should be sorted by ASCII with "9A" and "10A", the first...