GeezerVison is showing github.com — doc: use Node.js instead of Node · nodejs/node@33053ec
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/cli.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -553,7 +553,7 @@ if they had been specified on the command line before the actual command line | 553 | 553 | (so they can be overridden). Node.js will exit with an error if an option | 554 | 554 | that is not allowed in the environment is used, such as `-p` or a script file. | 555 | 555 |
| 556 | | -Node options that are allowed are: | | 556 | +Node.js options that are allowed are: | 557 | 557 | - `--enable-fips` | 558 | 558 | - `--experimental-modules` | 559 | 559 | - `--experimental-repl-await` | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/documentation.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -82,7 +82,7 @@ pages (short for manual pages) which describe how the syscalls work. | 82 | 82 |
| 83 | 83 | Most Unix syscalls have Windows equivalents, but behavior may differ on Windows | 84 | 84 | relative to Linux and macOS. For an example of the subtle ways in which it's | 85 | | -sometimes impossible to replace Unix syscall semantics on Windows, see [Node | | 85 | +sometimes impossible to replace Unix syscall semantics on Windows, see [Node.js | 86 | 86 | issue 4760](https://github.com/nodejs/node/issues/4760). | 87 | 87 |
| 88 | 88 | [`'warning'`]: process.html#process_event_warning | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/inspector.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -144,7 +144,7 @@ session.post('Runtime.evaluate', { expression: '2 + 2' }, | 144 | 144 | The latest version of the V8 inspector protocol is published on the | 145 | 145 | [Chrome DevTools Protocol Viewer][]. | 146 | 146 |
| 147 | | -Node inspector supports all the Chrome DevTools Protocol domains declared | | 147 | +Node.js inspector supports all the Chrome DevTools Protocol domains declared | 148 | 148 | by V8. Chrome DevTools Protocol domain provides an interface for interacting | 149 | 149 | with one of the runtime agents used to inspect the application state and listen | 150 | 150 | to the run-time events. | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/modules.md +3-2Lines changed: 3 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -376,8 +376,9 @@ Error: Cannot find module 'some-library' | 376 | 376 | If the module identifier passed to `require()` is not a | 377 | 377 | [core](#modules_core_modules) module, and does not begin with `'/'`, `'../'`, or | 378 | 378 | `'./'`, then Node.js starts at the parent directory of the current module, and | 379 | | -adds `/node_modules`, and attempts to load the module from that location. Node | 380 | | -will not append `node_modules` to a path already ending in `node_modules`. | | 379 | +adds `/node_modules`, and attempts to load the module from that location. | | 380 | +Node.js will not append `node_modules` to a path already ending in | | 381 | +`node_modules`. | 381 | 382 |
| 382 | 383 | If it is not found there, then it moves to the parent directory, and so | 383 | 384 | on, until the root of the file system is reached. | |
Collapse file Copy file name to clipboardExpand all lines: doc/guides/node-postmortem-support.md +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,8 +15,8 @@ Node.js always includes these constants in the final build. | 15 | 15 |
| 16 | 16 | ### Node.js Debug Symbols | 17 | 17 |
| 18 | | -Node prefixes all postmortem constants with `nodedbg_`, and they complement V8 | 19 | | -constants by providing ways to inspect Node-specific structures, like | | 18 | +Node.js prefixes all postmortem constants with `nodedbg_`, and they complement | | 19 | +V8 constants by providing ways to inspect Node.js-specific structures, like | 20 | 20 | `node::Environment`, `node::BaseObject` and its descendants, classes from | 21 | 21 | `src/utils.h` and others. Those constants are declared in | 22 | 22 | `src/node_postmortem_metadata.cc`, and most of them are calculated at compile | @@ -63,7 +63,7 @@ class ReqWrap : public AsyncWrap { | 63 | 63 | ``` | 64 | 64 |
| 65 | 65 | There are also tests on `test/cctest/test_node_postmortem_metadata.cc` to make | 66 | | -sure all Node postmortem metadata are calculated correctly. | | 66 | +sure all Node.js postmortem metadata are calculated correctly. | 67 | 67 |
| 68 | 68 | ## Tools and References | 69 | 69 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/node.1 +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -246,7 +246,7 @@ Evaluate | 246 | 246 | as JavaScript. | 247 | 247 | . | 248 | 248 | .It Fl h , Fl -help | 249 | | -Print node command line options. | | 249 | +Print Node.js command line options. | 250 | 250 | The output of this option is less detailed than this document. | 251 | 251 | . | 252 | 252 | .It Fl i , Fl -interactive | @@ -263,7 +263,7 @@ Preload the specified | 263 | 263 | at startup. | 264 | 264 | Follows `require()`'s module resolution rules. | 265 | 265 | .Ar module | 266 | | -may be either a path to a file, or a node module name. | | 266 | +may be either a path to a file, or a Node.js module name. | 267 | 267 | . | 268 | 268 | .It Fl v , Fl -version | 269 | 269 | Print node's version. | @@ -309,7 +309,7 @@ process warnings are silenced. | 309 | 309 | A space-separated list of command-line | 310 | 310 | .Ar options , | 311 | 311 | which are interpreted as if they had been specified on the command-line before the actual command (so they can be overridden). | 312 | | -Node will exit with an error if an option that is not allowed in the environment is used, such as | | 312 | +Node.js will exit with an error if an option that is not allowed in the environment is used, such as | 313 | 313 | .Fl -print | 314 | 314 | or a script file. | 315 | 315 | . | |
|