Skip to content

Commit 5cfcb16

Browse files
committed
Convert doc text
1 parent f7c4fe6 commit 5cfcb16

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

schema/docs/versions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ While the triple can only contain numeric values the `pre-release` and `build` a
308308
A complete definition of this version type can be viewed here
309309
https://semver.org/spec/v2.0.0.html#backusnaur-form-grammar-for-valid-semver-versions
310310

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 `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 .
312312

313313
##### Example
314314

@@ -321,34 +321,34 @@ The `semver-2.0.0` version type has five possible parameters which may be used t
321321
{
322322
"versionType": "semver-2.0.0",
323323
"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"
326326
}
327327
{
328328
"versionType": "semver-2.0.0",
329329
"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"
332332
}
333333
{
334334
"versionType": "semver-2.0.0",
335335
"status": "affected",
336-
"version": "5.6.7-gamma",
336+
"exactly": "5.6.7-gamma",
337337
}
338338
{
339339
"versionType": "semver-2.0.0",
340340
"status": "affected",
341-
"version": "6.7.8-delta",
341+
"exactly": "6.7.8-delta",
342342
}
343343
{
344344
"versionType": "semver-2.0.0",
345345
"status": "affected",
346-
"lessThan": "1.0.0",
346+
"exclusiveUpperBound": "1.0.0",
347347
}
348348
{
349349
"versionType": "semver-2.0.0",
350350
"status": "unknown",
351-
"greaterThanOrEqual": "9.0.0",
351+
"inclusiveLowerBound": "9.0.0",
352352
}
353353
],
354354
}
@@ -357,7 +357,7 @@ The `semver-2.0.0` version type has five possible parameters which may be used t
357357

358358
#### Explainer
359359

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`.
361361

362362

363363
## Version Status Changes

0 commit comments

Comments
 (0)