GeezerVison is showing github.com — lib: fix typos in comments within internal/streams · nodejs/node@425b956
File tree
Expand 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: lib/internal/streams/readable.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -258,7 +258,7 @@ ObjectDefineProperties(ReadableState.prototype, { |
258 | 258 |
|
259 | 259 |
|
260 | 260 | function ReadableState(options, stream, isDuplex) { |
261 | | - // Bit map field to store ReadableState more effciently with 1 bit per field |
| 261 | + // Bit map field to store ReadableState more efficiently with 1 bit per field |
262 | 262 | // instead of a V8 slot per field. |
263 | 263 | this[kState] = kEmitClose | kAutoDestroy | kConstructed | kSync; |
264 | 264 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: lib/internal/streams/transform.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -180,7 +180,7 @@ Transform.prototype._write = function(chunk, encoding, callback) { |
180 | 180 |
|
181 | 181 | if (rState.ended) { |
182 | 182 | // If user has called this.push(null) we have to |
183 | | - // delay the callback to properly progate the new |
| 183 | + // delay the callback to properly propagate the new |
184 | 184 | // state. |
185 | 185 | process.nextTick(callback); |
186 | 186 | } else if ( |
|
Collapse file
Copy file name to clipboardExpand all lines: lib/internal/streams/utils.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | } = primordials; |
9 | 9 |
|
10 | 10 | // We need to use SymbolFor to make these globally available |
11 | | -// for interopt with readable-stream, i.e. readable-stream |
| 11 | +// for interoperability with readable-stream, i.e. readable-stream |
12 | 12 | // and node core needs to be able to read/write private state |
13 | 13 | // from each other for proper interoperability. |
14 | 14 | const kIsDestroyed = SymbolFor('nodejs.stream.destroyed'); |
|
Collapse file
Copy file name to clipboardExpand all lines: lib/internal/streams/writable.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -300,7 +300,7 @@ ObjectDefineProperties(WritableState.prototype, { |
300 | 300 | }); |
301 | 301 |
|
302 | 302 | function WritableState(options, stream, isDuplex) { |
303 | | - // Bit map field to store WritableState more effciently with 1 bit per field |
| 303 | + // Bit map field to store WritableState more efficiently with 1 bit per field |
304 | 304 | // instead of a V8 slot per field. |
305 | 305 | this[kState] = kSync | kConstructed | kEmitClose | kAutoDestroy; |
306 | 306 |
|
|