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
// Check if the version meets the constraints. The a variable will be true.
116
+
// Check if the version meets the constraints. The variable a will be true.
117
117
a:= c.Check(v)
118
118
```
119
119
@@ -137,20 +137,20 @@ The basic comparisons are:
137
137
### Working With Prerelease Versions
138
138
139
139
Pre-releases, for those not familiar with them, are used for software releases
140
-
prior to stable or generally available releases. Examples of prereleases include
141
-
development, alpha, beta, and release candidate releases. A prerelease may be
140
+
prior to stable or generally available releases. Examples of pre-releases include
141
+
development, alpha, beta, and release candidate releases. A pre-release may be
142
142
a version such as `1.2.3-beta.1` while the stable release would be `1.2.3`. In the
143
-
order of precedence, prereleases come before their associated releases. In this
143
+
order of precedence, pre-releases come before their associated releases. In this
144
144
example `1.2.3-beta.1 < 1.2.3`.
145
145
146
-
According to the Semantic Version specification prereleases may not be
146
+
According to the Semantic Version specification, pre-releases may not be
147
147
API compliant with their release counterpart. It says,
148
148
149
149
> A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as denoted by its associated normal version.
150
150
151
-
SemVer comparisons using constraints without a prerelease comparator will skip
152
-
prerelease versions. For example, `>=1.2.3` will skip prereleases when looking
153
-
at a list of releases while `>=1.2.3-0` will evaluate and find prereleases.
151
+
SemVer's comparisons using constraints without a pre-release comparator will skip
152
+
pre-release versions. For example, `>=1.2.3` will skip pre-releases when looking
153
+
at a list of releases while `>=1.2.3-0` will evaluate and find pre-releases.
154
154
155
155
The reason for the `0` as a pre-release version in the example comparison is
156
156
because pre-releases can only contain ASCII alphanumerics and hyphens (along with
0 commit comments