Skip to content

Commit 217ddd8

Browse files
silverwindevanlucas
authored andcommitted
src,doc,test: Fix common misspellings
PR-URL: #18151 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 9edf023 commit 217ddd8

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

doc/api/stream.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ added: v8.0.0
14741474
argument.
14751475

14761476
The `_destroy()` method is called by [`writable.destroy()`][writable-destroy].
1477-
It can be overriden by child classes but it **must not** be called directly.
1477+
It can be overridden by child classes but it **must not** be called directly.
14781478

14791479
#### writable.\_final(callback)
14801480
<!-- YAML
@@ -1687,7 +1687,7 @@ added: v8.0.0
16871687
argument.
16881688

16891689
The `_destroy()` method is called by [`readable.destroy()`][readable-destroy].
1690-
It can be overriden by child classes but it **must not** be called directly.
1690+
It can be overridden by child classes but it **must not** be called directly.
16911691

16921692
#### readable.push(chunk[, encoding])
16931693
<!-- YAML

doc/guides/maintaining-the-build-files.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ There are three main build files that may be directly run when building Node.js:
1515
Makefile mentioned below is maintained separately by humans). For a detailed
1616
guide on this script, see [configure](#configure).
1717
- `vcbuild.bat`: A Windows Batch Script that locates build tools, provides a
18-
subset of the targets avilable in the [Makefile](#makefile), and a few targets
18+
subset of the targets available in the [Makefile](#makefile), and a few targets
1919
of its own. For a detailed guide on this script, see
2020
[vcbuild.bat](#vcbuild.bat).
2121
- `Makefile`: A Makefile that can be run with GNU Make. It provides a set of

src/node_http2.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ inline int Http2Session::OnBeginHeadersCallback(nghttp2_session* handle,
831831
}
832832

833833
// Called by nghttp2 for each header name/value pair in a HEADERS block.
834-
// This had to have been preceeded by a call to OnBeginHeadersCallback so
834+
// This had to have been preceded by a call to OnBeginHeadersCallback so
835835
// the Http2Stream is guaranteed to already exist.
836836
inline int Http2Session::OnHeaderCallback(nghttp2_session* handle,
837837
const nghttp2_frame* frame,
@@ -2731,7 +2731,7 @@ void Http2Session::Ping(const FunctionCallbackInfo<Value>& args) {
27312731
return args.GetReturnValue().Set(false);
27322732
}
27332733

2734-
// The Ping itself is an Async resource. When the acknowledgement is recieved,
2734+
// The Ping itself is an Async resource. When the acknowledgement is received,
27352735
// the callback will be invoked and a notification sent out to JS land. The
27362736
// notification will include the duration of the ping, allowing the round
27372737
// trip to be measured.

test/async-hooks/test-callback-error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ assert.ok(!arg);
9494
assert.strictEqual(code, null);
9595
// most posix systems will show 'SIGABRT', but alpine34 does not
9696
if (signal !== 'SIGABRT') {
97-
console.log(`parent recived signal ${signal}\nchild's stderr:`);
97+
console.log(`parent received signal ${signal}\nchild's stderr:`);
9898
console.log(stderr);
9999
process.exit(1);
100100
}

test/common/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ internet-related tests.
657657
A set of addresses for internet-related tests. All properties are configurable
658658
via `NODE_TEST_*` environment variables. For example, to configure
659659
`internet.addresses.INET_HOST`, set the environment
660-
vairable `NODE_TEST_INET_HOST` to a specified host.
660+
variable `NODE_TEST_INET_HOST` to a specified host.
661661

662662
## WPT Module
663663

test/fixtures/loop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ console.log('A message', 5);
44
while (t > 0) {
55
if (t++ === 1000) {
66
t = 0;
7-
console.log(`Outputed message #${k++}`);
7+
console.log(`Outputted message #${k++}`);
88
}
99
}
1010
process.exit(55);

test/sequential/test-inspector-async-hook-setup-at-signal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function waitUntilDebugged() {
1717
// call stack depth is 0. We need a chance to call
1818
// Debugger.setAsyncCallStackDepth *before* activating the actual timer for
1919
// async stack traces to work. Directly using a debugger statement would be
20-
// too brittle, and using a longer timeout would unnecesarily slow down the
20+
// too brittle, and using a longer timeout would unnecessarily slow down the
2121
// test on most machines. Triggering a debugger break through an interval is
2222
// a faster and more reliable way.
2323
process._rawDebug('Signal received, waiting for debugger setup');

0 commit comments

Comments
 (0)