A build metadata component [SemVer] It behaves as {{EmptyComponent}} when comparing to other components, i.e.
Represents one section of a version string E.g.
Represents one section of a version string E.g. for the version string "1.foo.42" the components would be "1", "foo" and "42".
A numeric component.
A numeric component. Compares naturally to itself.
A pre-release component [SemVer]
A pre-release component [SemVer]
Precedence for a pre-release component is determined by comparing each identifier from left to right until a difference is found as follows: - identifiers consisting of only digits are compared numerically - identifiers with letters or hyphens are compared lexically in ASCII sort order - numeric identifiers always have lower precedence than non-numeric identifiers - a larger set of fields has a higher precedence than a smaller set, if all of the preceding identifiers are equal
Example: alpha < alpha.1 < alpha.beta < beta < beta.2 < beta.11 < rc.1
A pre-release component have a lower precedence than an empty component.
build identifiers
https://semver.org/spec/v2.0.0.html#spec-item-9
A string component.
A string component. String components are compared lexicographically and have higher precedence than numeric components.
An empty component.
An empty component. It's less than any other component, unless the other component explicitly states otherwise.
A build metadata component [SemVer] It behaves as {{EmptyComponent}} when comparing to other components, i.e. it doesn't count.
build identifiers
https://semver.org/spec/v2.0.0.html#spec-item-10