I am mostly posting this as a question and possible bug in the the npm semver calculator (https://docs.npmjs.com/misc/semver.html#prerelease-tags). It seems that the resolver for prerelease tags is wrong.
The npm semver docs say here
For example, the range
>1.2.3-alpha.3would be allowed to match the version
1.2.3-alpha.7, but it would not be satisfied by
3.4.5-alpha.9, even though
3.4.5-alpha.9is technically “greater than”
1.2.3-alpha.3according to the SemVer sort rules. The version range only accepts prerelease tags on the
But when you enter the version
>1.0.0-rc.1 in the calculator it disregards this and pull all version with or without prerelease tags.
Is this accurate?