summaryrefslogtreecommitdiff
path: root/doc/api/process.md
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2018-03-24 17:23:34 +0100
committerTobias Nießen <tniessen@tnie.de>2018-03-25 03:18:56 +0200
commiteeb1b9dcb77cf5c6aeaca7fc12bd12e56012e8b5 (patch)
treec3932198bcc609dfc31aee5ced1da6da3d17da69 /doc/api/process.md
parenta1c96f8e07115d3b6ff1498e7e9f530d2e0f1b6b (diff)
downloadandroid-node-v8-eeb1b9dcb77cf5c6aeaca7fc12bd12e56012e8b5.tar.gz
android-node-v8-eeb1b9dcb77cf5c6aeaca7fc12bd12e56012e8b5.tar.bz2
android-node-v8-eeb1b9dcb77cf5c6aeaca7fc12bd12e56012e8b5.zip
Revert "process: add more version properties to release"
This reverts commit 982e3bdb1f06bf9d9926c808d30864b32a8223f9. It is believed that the original PR should not have landed as it is as the implemented and exposed API has a variety of flaws. PR-URL: https://github.com/nodejs/node/pull/19577 Refs: https://github.com/nodejs/node/pull/19438 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'doc/api/process.md')
-rw-r--r--doc/api/process.md22
1 files changed, 1 insertions, 21 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index b3a15b76e8..c737f7d456 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -1509,21 +1509,6 @@ tarball.
- `'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.
-* `majorVersion` {number} The major version of Node.js.
-* `minorVersion` {number} The minor version of Node.js.
-* `patchVersion` {number} The patch version of Node.js.
-* `prereleaseTag` {string} The SemVer pre-release tag for Node.js.
-* `computedVersion` {number} A number representing the current version, created
- using the following method:
- `(majorVersion << 16) + (minorVersion << 8) + patchVersion`
-* `compareVersion` {function} Perform a SemVer comparison to the release
- version.
- * `major`
- * `minor`
- * `patch`
- * Returns: {number} `-1` if the given version is lower than the release
- version, `0` if the given version matches the process version, and `1`
- if the given version is greater than the release version.
<!-- eslint-skip -->
```js
@@ -1532,12 +1517,7 @@ tarball.
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',
- majorVersion: 4,
- minorVersion: 4,
- patchVersion: 5,
- prereleaseTag: '',
- computedVersion: 263173,
+ libUrl: 'https://nodejs.org/download/release/v4.4.5/win-x64/node.lib'
}
```