Skip to content

Commit b52afa2

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 <gpunathi@in.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent b343cb6 commit b52afa2

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
@@ -1130,10 +1130,10 @@ process.send({ foo: 'bar', baz: NaN });
11301130
Child Node.js processes will have a [`process.send()`][] method of their own that
11311131
allows the child to send messages back to the parent.
11321132

1133-
There is a special case when sending a `{cmd: 'NODE_foo'}` message. All messages
1134-
containing a `NODE_` prefix in its `cmd` property are considered to be reserved
1135-
for use within Node.js core and will not be emitted in the child's
1136-
[`process.on('message')`][] event. Rather, such messages are emitted using the
1133+
There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
1134+
containing a `NODE_` prefix in the `cmd` property are reserved for use within
1135+
Node.js core and will not be emitted in the child's [`process.on('message')`][]
1136+
event. Rather, such messages are emitted using the
11371137
`process.on('internalMessage')` event and are consumed internally by Node.js.
11381138
Applications should avoid using such messages or listening for
11391139
`'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
@@ -622,7 +622,7 @@ Once a socket is assigned to this request and is connected
622622
added: v0.5.9
623623
-->
624624

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

628628
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)