pg-semver
pg-semver copied to clipboard
Doesn't support 4-dot versions
trafficstars
Internal error: 7 ERROR: bad semver value '10.0.0.0': expected - (dash) or + (plus) at char 6
At least in the C++ and PHP ecosystems, the fourth dot is a patch release, usually done immediately after release when minor fixes are needed.
Sure, but that's not valid according to the standard. You can see that in the official regex. Try adding 10.0.0.0 to the "Test String" field and see it doesn't match.