| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9df52dd commit e00923b
15 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,7 @@ | |||
| 33 | 33 | - [How is an LTS release cut?](#how-is-an-lts-release-cut) | |
| 34 | 34 | ||
| 35 | 35 | This document contains information for Collaborators of the Node.js | |
| 36 | - project regarding maintaining the code, documentation and issues. | ||
| 36 | + project regarding maintaining the code, documentation, and issues. | ||
| 37 | 37 | ||
| 38 | 38 | Collaborators should be familiar with the guidelines for new | |
| 39 | 39 | contributors in [CONTRIBUTING.md](./CONTRIBUTING.md) and also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -74,7 +74,7 @@ for any individual to *act* in such a manner that is not in violation of the | |||
| 74 | 74 | strict letter of the Code of Conduct guidelines while still going completely | |
| 75 | 75 | against the spirit of what that Code is intended to accomplish. | |
| 76 | 76 | ||
| 77 | - Open, diverse and inclusive communities live and die on the basis of trust. | ||
| 77 | + Open, diverse, and inclusive communities live and die on the basis of trust. | ||
| 78 | 78 | Contributors can disagree with one another so long as they trust that those | |
| 79 | 79 | disagreements are in good faith and everyone is working towards a common goal. | |
| 80 | 80 | ||
@@ -177,7 +177,7 @@ Node.js changed that broke the module. | |||
| 177 | 177 | Once an issue has been opened, it is not uncommon for there to be discussion | |
| 178 | 178 | around it. Some contributors may have differing opinions about the issue, | |
| 179 | 179 | including whether the behavior being seen is a bug or a feature. This discussion | |
| 180 | - is part of the process and should be kept focused, helpful and professional. | ||
| 180 | + is part of the process and should be kept focused, helpful, and professional. | ||
| 181 | 181 | ||
| 182 | 182 | Short, clipped responses—that provide neither additional context nor supporting | |
| 183 | 183 | detail—are not helpful or professional. To many, such responses are simply | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,7 @@ | |||
| 7 | 7 | * [4 spaces of indentation for statement continuations](#4-spaces-of-indentation-for-statement-continuations) | |
| 8 | 8 | * [Align function arguments vertically](#align-function-arguments-vertically) | |
| 9 | 9 | * [Initialization lists](#initialization-lists) | |
| 10 | - * [CamelCase for methods, functions and classes](#camelcase-for-methods-functions-and-classes) | ||
| 10 | + * [CamelCase for methods, functions, and classes](#camelcase-for-methods-functions-and-classes) | ||
| 11 | 11 | * [snake\_case for local variables and parameters](#snake_case-for-local-variables-and-parameters) | |
| 12 | 12 | * [snake\_case\_ for private class fields](#snake_case_-for-private-class-fields) | |
| 13 | 13 | * [Space after `template`](#space-after-template) | |
@@ -87,7 +87,7 @@ HandleWrap::HandleWrap(Environment* env, | |||
| 87 | 87 | handle_(handle) { | |
| 88 | 88 | ``` | |
| 89 | 89 | ||
| 90 | - ## CamelCase for methods, functions and classes | ||
| 90 | + ## CamelCase for methods, functions, and classes | ||
| 91 | 91 | ||
| 92 | 92 | Exceptions are simple getters/setters, which are named `property_name()` and | |
| 93 | 93 | `set_property_name()`, respectively. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -116,7 +116,7 @@ documentation of the latest stable version. | |||
| 116 | 116 | ||
| 117 | 117 | ### Verifying Binaries | |
| 118 | 118 | ||
| 119 | - Current, LTS and Nightly download directories all contain a _SHASUMS256.txt_ | ||
| 119 | + Current, LTS, and Nightly download directories all contain a _SHASUMS256.txt_ | ||
| 120 | 120 | file that lists the SHA checksums for each file available for | |
| 121 | 121 | download. | |
| 122 | 122 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ involving knowledge of several components and APIs : | |||
| 20 | 20 | threads and all of the asynchronous behaviors of the platform. It also | |
| 21 | 21 | serves as a cross-platform abstraction library, giving easy, POSIX-like | |
| 22 | 22 | access across all major operating systems to many common system tasks, such | |
| 23 | - as interacting with the filesystem, sockets, timers and system events. libuv | ||
| 23 | + as interacting with the filesystem, sockets, timers, and system events. libuv | ||
| 24 | 24 | also provides a pthreads-like threading abstraction that may be used to | |
| 25 | 25 | power more sophisticated asynchronous Addons that need to move beyond the | |
| 26 | 26 | standard event loop. Addon authors are encouraged to think about how to | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -154,7 +154,7 @@ changes: | |||
| 154 | 154 | --> | |
| 155 | 155 | ||
| 156 | 156 | `Buffer` instances are commonly used to represent sequences of encoded characters | |
| 157 | - such as UTF-8, UCS2, Base64 or even Hex-encoded data. It is possible to | ||
| 157 | + such as UTF-8, UCS2, Base64, or even Hex-encoded data. It is possible to | ||
| 158 | 158 | convert back and forth between `Buffer` instances and ordinary JavaScript strings | |
| 159 | 159 | by using an explicit character encoding. | |
| 160 | 160 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -628,7 +628,7 @@ pipes between the parent and child. The value is one of the following: | |||
| 628 | 628 | 5. Positive integer - The integer value is interpreted as a file descriptor | |
| 629 | 629 | that is is currently open in the parent process. It is shared with the child | |
| 630 | 630 | process, similar to how {Stream} objects can be shared. | |
| 631 | - 6. `null`, `undefined` - Use default value. For stdio fds 0, 1 and 2 (in other | ||
| 631 | + 6. `null`, `undefined` - Use default value. For stdio fds 0, 1, and 2 (in other | ||
| 632 | 632 | words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the | |
| 633 | 633 | default is `'ignore'`. | |
| 634 | 634 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | > Stability: 2 - Stable | |
| 6 | 6 | ||
| 7 | 7 | The `crypto` module provides cryptographic functionality that includes a set of | |
| 8 | - wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign and verify functions. | ||
| 8 | + wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify functions. | ||
| 9 | 9 | ||
| 10 | 10 | Use `require('crypto')` to access this module. | |
| 11 | 11 | ||
@@ -1254,7 +1254,7 @@ In line with OpenSSL's recommendation to use pbkdf2 instead of | |||
| 1254 | 1254 | [`EVP_BytesToKey`][] it is recommended that developers derive a key and IV on | |
| 1255 | 1255 | their own using [`crypto.pbkdf2()`][] and to use [`crypto.createCipheriv()`][] | |
| 1256 | 1256 | to create the `Cipher` object. Users should not use ciphers with counter mode | |
| 1257 | - (e.g. CTR, GCM or CCM) in `crypto.createCipher()`. A warning is emitted when | ||
| 1257 | + (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when | ||
| 1258 | 1258 | they are used in order to avoid the risk of IV reuse that causes | |
| 1259 | 1259 | vulnerabilities. For the case when IV is reused in GCM, see [Nonce-Disrespecting | |
| 1260 | 1260 | Adversaries][] for details. | |
@@ -2034,7 +2034,7 @@ Based on the recommendations of [NIST SP 800-131A][]: | |||
| 2034 | 2034 | ||
| 2035 | 2035 | - MD5 and SHA-1 are no longer acceptable where collision resistance is | |
| 2036 | 2036 | required such as digital signatures. | |
| 2037 | - - The key used with RSA, DSA and DH algorithms is recommended to have | ||
| 2037 | + - The key used with RSA, DSA, and DH algorithms is recommended to have | ||
| 2038 | 2038 | at least 2048 bits and that of the curve of ECDSA and ECDH at least | |
| 2039 | 2039 | 224 bits, to be safe to use for several years. | |
| 2040 | 2040 | - The DH groups of `modp1`, `modp2` and `modp5` have a key size | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1881,7 +1881,7 @@ Linux, and Windows, an error will be returned. On FreeBSD, a representation | |||
| 1881 | 1881 | of the directory's contents will be returned. | |
| 1882 | 1882 | ||
| 1883 | 1883 | ```js | |
| 1884 | - // macOS, Linux and Windows | ||
| 1884 | + // macOS, Linux, and Windows | ||
| 1885 | 1885 | fs.readFile('<directory>', (err, data) => { | |
| 1886 | 1886 | // => [Error: EISDIR: illegal operation on a directory, read <directory>] | |
| 1887 | 1887 | }); | |
@@ -1929,7 +1929,7 @@ string. Otherwise it returns a buffer. | |||
| 1929 | 1929 | behavior of `fs.readFileSync()` is platform-specific. | |
| 1930 | 1930 | ||
| 1931 | 1931 | ```js | |
| 1932 | - // macOS, Linux and Windows | ||
| 1932 | + // macOS, Linux, and Windows | ||
| 1933 | 1933 | fs.readFileSync('<directory>'); | |
| 1934 | 1934 | // => [Error: EISDIR: illegal operation on a directory, read <directory>] | |
| 1935 | 1935 | ||
@@ -3043,7 +3043,7 @@ The following constants are meant for use with the [`fs.Stats`][] object's | |||
| 3043 | 3043 | </tr> | |
| 3044 | 3044 | <tr> | |
| 3045 | 3045 | <td><code>S_IRWXU</code></td> | |
| 3046 | - <td>File mode indicating readable, writable and executable by owner.</td> | ||
| 3046 | + <td>File mode indicating readable, writable, and executable by owner.</td> | ||
| 3047 | 3047 | </tr> | |
| 3048 | 3048 | <tr> | |
| 3049 | 3049 | <td><code>S_IRUSR</code></td> | |
@@ -3059,7 +3059,7 @@ The following constants are meant for use with the [`fs.Stats`][] object's | |||
| 3059 | 3059 | </tr> | |
| 3060 | 3060 | <tr> | |
| 3061 | 3061 | <td><code>S_IRWXG</code></td> | |
| 3062 | - <td>File mode indicating readable, writable and executable by group.</td> | ||
| 3062 | + <td>File mode indicating readable, writable, and executable by group.</td> | ||
| 3063 | 3063 | </tr> | |
| 3064 | 3064 | <tr> | |
| 3065 | 3065 | <td><code>S_IRGRP</code></td> | |
@@ -3075,7 +3075,7 @@ The following constants are meant for use with the [`fs.Stats`][] object's | |||
| 3075 | 3075 | </tr> | |
| 3076 | 3076 | <tr> | |
| 3077 | 3077 | <td><code>S_IRWXO</code></td> | |
| 3078 | - <td>File mode indicating readable, writable and executable by others.</td> | ||
| 3078 | + <td>File mode indicating readable, writable, and executable by others.</td> | ||
| 3079 | 3079 | </tr> | |
| 3080 | 3080 | <tr> | |
| 3081 | 3081 | <td><code>S_IROTH</code></td> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1264,7 +1264,7 @@ added: v8.4.0 | |||
| 1264 | 1264 | ||
| 1265 | 1265 | In `Http2Server`, there is no `'clientError'` event as there is in | |
| 1266 | 1266 | HTTP1. However, there are `'socketError'`, `'sessionError'`, and | |
| 1267 | - `'streamError'`, for error happened on the socket, session or stream | ||
| 1267 | + `'streamError'`, for error happened on the socket, session, or stream | ||
| 1268 | 1268 | respectively. | |
| 1269 | 1269 | ||
| 1270 | 1270 | #### Event: 'socketError' | |
@@ -1857,7 +1857,7 @@ performance. | |||
| 1857 | 1857 | There are several types of error conditions that may arise when using the | |
| 1858 | 1858 | `http2` module: | |
| 1859 | 1859 | ||
| 1860 | - Validation Errors occur when an incorrect argument, option or setting value is | ||
| 1860 | + Validation Errors occur when an incorrect argument, option, or setting value is | ||
| 1861 | 1861 | passed in. These will always be reported by a synchronous `throw`. | |
| 1862 | 1862 | ||
| 1863 | 1863 | State Errors occur when an action is attempted at an incorrect time (for | |
@@ -2229,7 +2229,7 @@ added: v8.4.0 | |||
| 2229 | 2229 | * {net.Socket|tls.TLSSocket} | |
| 2230 | 2230 | ||
| 2231 | 2231 | Returns a Proxy object that acts as a `net.Socket` (or `tls.TLSSocket`) but | |
| 2232 | - applies getters, setters and methods based on HTTP/2 logic. | ||
| 2232 | + applies getters, setters, and methods based on HTTP/2 logic. | ||
| 2233 | 2233 | ||
| 2234 | 2234 | `destroyed`, `readable`, and `writable` properties will be retrieved from and | |
| 2235 | 2235 | set on `request.stream`. | |
@@ -2601,7 +2601,7 @@ added: v8.4.0 | |||
| 2601 | 2601 | * {net.Socket|tls.TLSSocket} | |
| 2602 | 2602 | ||
| 2603 | 2603 | Returns a Proxy object that acts as a `net.Socket` (or `tls.TLSSocket`) but | |
| 2604 | - applies getters, setters and methods based on HTTP/2 logic. | ||
| 2604 | + applies getters, setters, and methods based on HTTP/2 logic. | ||
| 2605 | 2605 | ||
| 2606 | 2606 | `destroyed`, `readable`, and `writable` properties will be retrieved from and | |
| 2607 | 2607 | set on `response.stream`. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments