Skip to content

Commit 0be029e

Browse files
mhdawsonjasnell
authored andcommitted
doc: make spelling of behavior consistent
In the api docs there were some instances of behaviour and many more with behavior. I was asked as part of a review on a different PR which one to use and went with behavior to be consistent with the majority. Our style guide states that American English spelling is preferred. PR-URL: #13245 Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Kunal Pathak <[email protected]>
1 parent fb6cf2f commit 0be029e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
19011901
<tr>
19021902
<td><code>SSL_OP_CIPHER_SERVER_PREFERENCE</code></td>
19031903
<td>Attempts to use the server's preferences instead of the client's when
1904-
selecting a cipher. Behaviour depends on protocol version. See
1904+
selecting a cipher. Behavior depends on protocol version. See
19051905
https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html.</td>
19061906
</tr>
19071907
<tr>

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ important ways:
16351635
- TTYs (Terminals): *asynchronous* on Windows, *synchronous* on Unix
16361636
- Pipes (and sockets): *synchronous* on Windows, *asynchronous* on Unix
16371637

1638-
These behaviours are partly for historical reasons, as changing them would
1638+
These behaviors are partly for historical reasons, as changing them would
16391639
create backwards incompatibility, but they are also expected by some users.
16401640

16411641
Synchronous writes avoid problems such as output written with `console.log()` or

doc/api/tls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ changes:
982982
`"SSLv23_method"`. The possible values are listed as [SSL_METHODS][], use
983983
the function names as strings. For example, `"SSLv3_method"` to force SSL
984984
version 3.
985-
* `secureOptions` {number} Optionally affect the OpenSSL protocol behaviour,
985+
* `secureOptions` {number} Optionally affect the OpenSSL protocol behavior,
986986
which is not usually necessary. This should be used carefully if at all!
987987
Value is a numeric bitmask of the `SSL_OP_*` options from
988988
[OpenSSL Options][].

doc/api/util.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ will return its value, see [Custom promisified functions][].
443443

444444
`promisify()` assumes that `original` is a function taking a callback as its
445445
final argument in all cases, and the returned function will result in undefined
446-
behaviour if it does not.
446+
behavior if it does not.
447447

448448
### Custom promisified functions
449449

0 commit comments

Comments
 (0)