Skip to content

Commit 2c21421

Browse files
TrottMylesBorins
authored andcommitted
doc: simplify sentences that use "considered"
Change many instances of "x is considered to be y" to "x is y". PR-URL: #18095 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent df038ad commit 2c21421

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

doc/api/child_process.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -974,10 +974,10 @@ process.send({ foo: 'bar' });
974974
Child Node.js processes will have a [`process.send()`][] method of their own that
975975
allows the child to send messages back to the parent.
976976

977-
There is a special case when sending a `{cmd: 'NODE_foo'}` message. All messages
978-
containing a `NODE_` prefix in its `cmd` property are considered to be reserved
979-
for use within Node.js core and will not be emitted in the child's
980-
[`process.on('message')`][] event. Rather, such messages are emitted using the
977+
There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
978+
containing a `NODE_` prefix in the `cmd` property are reserved for use within
979+
Node.js core and will not be emitted in the child's [`process.on('message')`][]
980+
event. Rather, such messages are emitted using the
981981
`process.on('internalMessage')` event and are consumed internally by Node.js.
982982
Applications should avoid using such messages or listening for
983983
`'internalMessage'` events as it is subject to change without notice.

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ Once a socket is assigned to this request and is connected
550550
added: v0.5.9
551551
-->
552552

553-
* `timeout` {number} Milliseconds before a request is considered to be timed out.
553+
* `timeout` {number} Milliseconds before a request times out.
554554
* `callback` {Function} Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
555555

556556
Once a socket is assigned to this request and is connected

doc/api/readline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ The `'close'` event is emitted when one of the following occur:
6060

6161
The listener function is called without passing any arguments.
6262

63-
The `readline.Interface` instance should be considered to be "finished" once
64-
the `'close'` event is emitted.
63+
The `readline.Interface` instance is finished once the `'close'` event is
64+
emitted.
6565

6666
### Event: 'line'
6767
<!-- YAML

doc/guides/maintaining-V8.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ For example, at the time of this writing:
2323
* **Beta**: V8 5.5 is currently in beta. It will be promoted to stable next; approximately 6 weeks after V8 5.4 shipped as stable.
2424
* **Master**: V8 tip-of-tree corresponds to V8 5.6. This branch gets regularly released as part of the Chromium **canary** builds. This branch will be promoted to beta next when V8 5.5 ships as stable.
2525

26-
All older branches are considered **abandoned**, and are not maintained by the
27-
V8 team.
26+
All older branches are abandoned and are not maintained by the V8 team.
2827

2928
## V8 merge process overview
3029

0 commit comments

Comments
 (0)