`process.release` contains the following properties:
-* `name`: a string with a value that will always be `"node.js"` for Node.js.
+* `name`: a string with a value that will always be `"node"` for Node.js. For
+ legacy io.js releases, this will be `"io.js"`.
* `sourceUrl`: a complete URL pointing to a _.tar.gz_ file containing the
source of the current release.
* `headersUrl`: a complete URL pointing to a _.tar.gz_ file containing only
e.g.
- { name: 'node.js',
+ { name: 'node',
sourceUrl: 'https://nodejs.org/download/release/v4.0.0/node-v4.0.0.tar.gz',
headersUrl: 'https://nodejs.org/download/release/v4.0.0/node-v4.0.0-headers.tar.gz',
libUrl: 'https://nodejs.org/download/release/v4.0.0/win-x64/node.lib' }
// process.release
Local<Object> release = Object::New(env->isolate());
READONLY_PROPERTY(process, "release", release);
- READONLY_PROPERTY(release, "name", OneByteString(env->isolate(), "node.js"));
+ READONLY_PROPERTY(release, "name", OneByteString(env->isolate(), "node"));
// if this is a release build and no explicit base has been set
// substitute the standard release download URL