Skip to content

Commit d94dac4

Browse files
schamberg97addaleax
authored andcommitted
doc: update process.release
`process.release` documentation is out of date. This commit makes it up to date. PR-URL: #35167 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 52eba5b commit d94dac4

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

doc/api/process.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -1735,19 +1735,22 @@ tarball.
17351735
builds of Node.js and will be missing on all other platforms._
17361736
* `lts` {string} a string label identifying the [LTS][] label for this release.
17371737
This property only exists for LTS releases and is `undefined` for all other
1738-
release types, including _Current_ releases. Currently the valid values are:
1739-
* `'Argon'` for the 4.x LTS line beginning with 4.2.0.
1740-
* `'Boron'` for the 6.x LTS line beginning with 6.9.0.
1741-
* `'Carbon'` for the 8.x LTS line beginning with 8.9.1.
1738+
release types, including _Current_ releases.
1739+
Valid values include the LTS Release Codenames (including those
1740+
that are no longer supported). A non-exhaustive example of
1741+
these codenames includes:
1742+
* `'Dubnium'` for the 10.x LTS line beginning with 10.13.0.
1743+
* `'Erbium'` for the 12.x LTS line beginning with 12.13.0.
1744+
For other LTS Release Codenames, see [Node.js Changelog Archive](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_ARCHIVE.md)
17421745

17431746
<!-- eslint-skip -->
17441747
```js
17451748
{
17461749
name: 'node',
1747-
lts: 'Argon',
1748-
sourceUrl: 'https://nodejs.org/download/release/v4.4.5/node-v4.4.5.tar.gz',
1749-
headersUrl: 'https://nodejs.org/download/release/v4.4.5/node-v4.4.5-headers.tar.gz',
1750-
libUrl: 'https://nodejs.org/download/release/v4.4.5/win-x64/node.lib'
1750+
lts: 'Erbium',
1751+
sourceUrl: 'https://nodejs.org/download/release/v12.18.1/node-v12.18.1.tar.gz',
1752+
headersUrl: 'https://nodejs.org/download/release/v12.18.1/node-v12.18.1-headers.tar.gz',
1753+
libUrl: 'https://nodejs.org/download/release/v12.18.1/win-x64/node.lib'
17511754
}
17521755
```
17531756

0 commit comments

Comments
 (0)