struct

SemanticVersion

Inherits Comparable < Struct < Value < Object

Conforms to Semantic Versioning 2.0.0

See https://semver.org/ for more information.

Constructors

parse(str : String) : self

The distributed version of SemanticVersion#parse is too strict with leading zeros, causing it to fail on versions like Docker's 17.06.00. This patch loosens that up so that versions with leading zeros are accepted.

Source