• Matt Farina's avatar
    fix(semver): fixed edge cases that do not match prerelease · b27b11a2
    Matt Farina authored
    >0.0.0-a does not match pre-releases on 0.0.0 that start with a
    capital letter or number. This has to do with the ordering of
    code points. Numbers and capital letters come before lowercase
    letters.
    
    >0.0.0-0 should match all valid pre-releases on 0.0.0. According
    to the spec, "Numeric identifiers MUST NOT include leading zeroes."
    A 0 is also the lowest code point for all the allowed characters
    in a pre-release
    b27b11a2
Name
Last commit
Last update
.circleci Loading commit data...
_proto Loading commit data...
cmd Loading commit data...
docs Loading commit data...
pkg Loading commit data...
rootfs Loading commit data...
scripts Loading commit data...
testdata Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
code-of-conduct.md Loading commit data...
glide.lock Loading commit data...
glide.yaml Loading commit data...
versioning.mk Loading commit data...