sindresorhus/semver-regex

Matches "0.0.0"

Closed this issue · 3 comments

It's actually not clear if 0.0.0 is a valid version number under semver 2.0, but it seems wrong. The FAQ recommends starting development at 0.1.0, but that's not it in the spec, per se.

0.0.0 is a valid version. I often use it during initial development. https://runkit.com/sindresorhus/5ab2acf225eebc001213ead7

Yeah, doing some more reading, and found things like this, which support the argument. Closing.

So will the FAQ be updated? I also favor starting with 0.0.0 because then the major 0 space is equal to the major M space with M >= 1.