From 32d1731ae1ebad8d1a91f41ccd3f368aad406c1a Mon Sep 17 00:00:00 2001 From: schamberg97 <50446906+schamberg97@users.noreply.github.com> Date: Sat, 12 Sep 2020 12:47:45 +0300 Subject: [PATCH] doc: update process.release `process.release` documentation is out of date. This commit makes it up to date. PR-URL: https://github.com/nodejs/node/pull/35167 Reviewed-By: Richard Lau Reviewed-By: Gireesh Punathil Reviewed-By: Anna Henningsen Reviewed-By: Rich Trott --- doc/api/process.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/doc/api/process.md b/doc/api/process.md index 0b51ef501f61bc..3c733b70c2bb42 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1768,19 +1768,22 @@ tarball. builds of Node.js and will be missing on all other platforms._ * `lts` {string} a string label identifying the [LTS][] label for this release. This property only exists for LTS releases and is `undefined` for all other - release types, including _Current_ releases. Currently the valid values are: - * `'Argon'` for the 4.x LTS line beginning with 4.2.0. - * `'Boron'` for the 6.x LTS line beginning with 6.9.0. - * `'Carbon'` for the 8.x LTS line beginning with 8.9.1. + release types, including _Current_ releases. + Valid values include the LTS Release Codenames (including those + that are no longer supported). A non-exhaustive example of + these codenames includes: + * `'Dubnium'` for the 10.x LTS line beginning with 10.13.0. + * `'Erbium'` for the 12.x LTS line beginning with 12.13.0. + For other LTS Release Codenames, see [Node.js Changelog Archive](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_ARCHIVE.md) ```js { name: 'node', - lts: 'Argon', - sourceUrl: 'https://nodejs.org/download/release/v4.4.5/node-v4.4.5.tar.gz', - headersUrl: 'https://nodejs.org/download/release/v4.4.5/node-v4.4.5-headers.tar.gz', - libUrl: 'https://nodejs.org/download/release/v4.4.5/win-x64/node.lib' + lts: 'Erbium', + sourceUrl: 'https://nodejs.org/download/release/v12.18.1/node-v12.18.1.tar.gz', + headersUrl: 'https://nodejs.org/download/release/v12.18.1/node-v12.18.1-headers.tar.gz', + libUrl: 'https://nodejs.org/download/release/v12.18.1/win-x64/node.lib' } ```