Increments a given (partial) version number to the next higher version.
Compares the precedence of two SemVer version strings.
Takes a partial version and expands it to a valid SemVer version.
Determines if a given valid SemVer version has a pre-release suffix.
Validates a version string according to the SemVer specification.
Implementes version validation and comparison according to the semantic versioning specification.
The general format of a semantiv version is: a.b.c[-x.y...][+x.y...] a/b/c must be integer numbers with no leading zeros, and x/y/... must be either numbers or identifiers containing only ASCII alphabetic characters or hyphens. Identifiers may not start with a digit.