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
The `semver-2.0.0` version type has five possible parameters which may be used to define either a single version or a continuous range. The parameters are `version`, `lessThan`, `lessThanOrEqual`, `greaterThan`, and `greaterThanOrEqual`. The use of `version` alone defines a single version when used alone or an inclusive bound when used with one of the other parameters. Each parameter must be a valid semver triple with optional pre-release/build extensions.
311
+
The `semver-2.0.0` version type has five possible parameters which may be used to define either a single version or a continuous range. The parameters are `exactly`, `inclusiveLowerBound`, `exclusiveLowerBound`, `inclusiveUpperBound`, and `exclusiveUpperBound`. The use of `exactly` alone defines a single version when used alone. The other parameters are used to define a range of values which are .
312
312
313
313
##### Example
314
314
@@ -321,34 +321,34 @@ The `semver-2.0.0` version type has five possible parameters which may be used t
321
321
{
322
322
"versionType": "semver-2.0.0",
323
323
"status": "affected",
324
-
"version": "1.2.3-alpha",
325
-
"lessThan": "2.3.4+build17"
324
+
"inclusiveLowerBound": "1.2.3-alpha",
325
+
"inclusiveUpperBound": "2.3.4+build17"
326
326
}
327
327
{
328
328
"versionType": "semver-2.0.0",
329
329
"status": "unaffected",
330
-
"greaterThan": "3.4.5-beta",
331
-
"version": "4.5.6+assembly88"
330
+
"exclusiveLowerBound": "3.4.5-beta",
331
+
"exclusiveUpperBound": "4.5.6+assembly88"
332
332
}
333
333
{
334
334
"versionType": "semver-2.0.0",
335
335
"status": "affected",
336
-
"version": "5.6.7-gamma",
336
+
"exactly": "5.6.7-gamma",
337
337
}
338
338
{
339
339
"versionType": "semver-2.0.0",
340
340
"status": "affected",
341
-
"version": "6.7.8-delta",
341
+
"exactly": "6.7.8-delta",
342
342
}
343
343
{
344
344
"versionType": "semver-2.0.0",
345
345
"status": "affected",
346
-
"lessThan": "1.0.0",
346
+
"exclusiveUpperBound": "1.0.0",
347
347
}
348
348
{
349
349
"versionType": "semver-2.0.0",
350
350
"status": "unknown",
351
-
"greaterThanOrEqual": "9.0.0",
351
+
"inclusiveLowerBound": "9.0.0",
352
352
}
353
353
],
354
354
}
@@ -357,7 +357,7 @@ The `semver-2.0.0` version type has five possible parameters which may be used t
357
357
358
358
#### Explainer
359
359
360
-
A `semver-2.0.0` version is expressed as either a range or as a single exact version. Chaining multiple `semver-2.0.0` versions can be done to express more complex ranges. A `semver-2.0.0` range must begin with a lower bound which is followed by an upper bound. Each bound may be either inclusive or exclusive. These terms map as `exclusiveUpperBound` to `<`, `inclusiveUpperBound` to `<=`, `exclusiveLowerBound` to `>`, `inclusiveLowerBound` to `>=` and `exactly` to `=`. Thus the first example above could be rewritten as `>= 1.2.3-alpha, < 2.3.4+build17`.
360
+
A `semver-2.0.0` version is expressed as either a range or as a single exact version. Chaining multiple `semver-2.0.0` versions can be done to express more complex ranges. A `semver-2.0.0` range must begin with a lower bound which is followed by an upper bound. Each bound may be either inclusive or exclusive. These terms map as `exclusiveUpperBound` to `<`, `inclusiveUpperBound` to `<=`, `exclusiveLowerBound` to `>`, `inclusiveLowerBound` to `>=` and `exactly` to `=`. Thus the first example above could be rewritten as `>= 1.2.3-alpha, <= 2.3.4+build17`.
0 commit comments