| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -679,7 +679,8 @@ for the source tarball and headers-only tarball. | |||
| 679 | 679 | ||
| 680 | 680 | `process.release` contains the following properties: | |
| 681 | 681 | ||
| 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"`. | ||
| 683 | 684 | * `sourceUrl`: a complete URL pointing to a _.tar.gz_ file containing the | |
| 684 | 685 | source of the current release. | |
| 685 | 686 | * `headersUrl`: a complete URL pointing to a _.tar.gz_ file containing only | |
@@ -693,7 +694,7 @@ for the source tarball and headers-only tarball. | |||
| 693 | 694 | ||
| 694 | 695 | e.g. | |
| 695 | 696 | ||
| 696 | - { name: 'node.js', | ||
| 697 | + { name: 'node', | ||
| 697 | 698 | sourceUrl: 'https://nodejs.org/download/release/v4.0.0/node-v4.0.0.tar.gz', | |
| 698 | 699 | headersUrl: 'https://nodejs.org/download/release/v4.0.0/node-v4.0.0-headers.tar.gz', | |
| 699 | 700 | 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, | |||
| 2768 | 2768 | // process.release | |
| 2769 | 2769 | Local<Object> release = Object::New(env->isolate()); | |
| 2770 | 2770 | READONLY_PROPERTY(process, "release", release); | |
| 2771 | - READONLY_PROPERTY(release, "name", OneByteString(env->isolate(), "node.js")); | ||
| 2771 | + READONLY_PROPERTY(release, "name", OneByteString(env->isolate(), "node")); | ||
| 2772 | 2772 | ||
| 2773 | 2773 | // if this is a release build and no explicit base has been set | |
| 2774 | 2774 | // substitute the standard release download URL | |
| Back | FazBrowse Home | New Git URL |
0 commit comments