File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Open diff view settings
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -679,7 +679,8 @@ for the source tarball and headers-only tarball.
679679
680680` process.release ` contains the following properties:
681681
682- * ` name ` : a string with a value that will always be ` "node.js" ` for Node.js.
682+ * ` name ` : a string with a value that will always be ` "node" ` for Node.js. For
683+ legacy io.js releases, this will be ` "io.js" ` .
683684* ` sourceUrl ` : a complete URL pointing to a _ .tar.gz_ file containing the
684685 source of the current release.
685686* ` headersUrl ` : a complete URL pointing to a _ .tar.gz_ file containing only
@@ -693,7 +694,7 @@ for the source tarball and headers-only tarball.
693694
694695e.g.
695696
696- { name: 'node.js ',
697+ { name: 'node',
697698 sourceUrl: 'https://nodejs.org/download/release/v4.0.0/node-v4.0.0.tar.gz',
698699 headersUrl: 'https://nodejs.org/download/release/v4.0.0/node-v4.0.0-headers.tar.gz',
699700 libUrl: 'https://nodejs.org/download/release/v4.0.0/win-x64/node.lib' }
Original file line number Diff line number Diff line change @@ -2768,7 +2768,7 @@ void SetupProcessObject(Environment* env,
27682768 // process.release
27692769 Local<Object> release = Object::New (env->isolate ());
27702770 READONLY_PROPERTY (process, " release" , release);
2771- READONLY_PROPERTY (release, " name" , OneByteString (env->isolate (), " node.js " ));
2771+ READONLY_PROPERTY (release, " name" , OneByteString (env->isolate (), " node" ));
27722772
27732773// if this is a release build and no explicit base has been set
27742774// substitute the standard release download URL
You can’t perform that action at this time.
0 commit comments