You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if i get the semantic versioning specification right (https://semver.org/#spec-item-9), the following versions sould not be valid:
Semver sv = new Semver("1.0.0-"); //Identifiers MUST NOT be empty
sv = new Semver("1.0.0-alpha..1"); //Identifiers MUST NOT be empty
sv = new Semver("1.0.0-001"); //Numeric identifiers MUST NOT include leading zeroes
sv = new Semver("1.0.0-äöü"); //Identifiers MUST comprise only ASCII alphanumerics and hyphen
The text was updated successfully, but these errors were encountered:
We also run into this issue. We had users enter 1.2.3. (so with a trailing dot) as a version in our application, causing issues downstream. I believe the TS is right and this is not a valid semver according to the specification.
Hi,
if i get the semantic versioning specification right (https://semver.org/#spec-item-9), the following versions sould not be valid:
Semver sv = new Semver("1.0.0-"); //Identifiers MUST NOT be empty
sv = new Semver("1.0.0-alpha..1"); //Identifiers MUST NOT be empty
sv = new Semver("1.0.0-001"); //Numeric identifiers MUST NOT include leading zeroes
sv = new Semver("1.0.0-äöü"); //Identifiers MUST comprise only ASCII alphanumerics and hyphen
The text was updated successfully, but these errors were encountered: