Where digits are compared numerically?I compare them as described above but I cannot find where digits are compared numerically in pub.
Or am I wrong again?I always assume that preRelease is List of parts (dot separated) but Dart Team assume that preRelease is String?Why?And may pub invented his own semver?
From: http://semver.org/Build metadata SHOULD be ignored when determining version precedence. Thus two packages with the same version, but different build metadata are considered to be the same version.
Precedence MUST be calculated by separating the version into major, minor, patch and pre-release identifiers in that order (Build metadata does not figure into precedence).
A build version MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following the patch version or pre-release version. Identifiers MUST be comprised of only ASCII alphanumerics and dash [0-9A-Za-z-]. Build versions satisfy and have a higher precedence than the associated normal version. Examples: 1.0.0+build.1, 1.3.7+build.11.e0f985a.