Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 345c8c3

Browse filesBrowse files
tniessentargos
authored andcommitted
lib,src: fix a few typos in comments
PR-URL: #46835 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent 1a23eab commit 345c8c3
Copy full SHA for 345c8c3

File tree

Expand file treeCollapse file tree

5 files changed

+6
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

5 files changed

+6
-6
lines changed
Open diff view settings
Collapse file

‎lib/_http_client.js‎

Copy file name to clipboardExpand all lines: lib/_http_client.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,8 @@ function responseOnTimeout() {
779779
res.emit('timeout');
780780
}
781781

782-
// This function is necessary in the case where we receive the entire reponse
783-
// from server before we finish sending out the request
782+
// This function is necessary in the case where we receive the entire response
783+
// from the server before we finish sending out the request.
784784
function requestOnFinish() {
785785
const req = this;
786786

Collapse file

‎lib/_tls_wrap.js‎

Copy file name to clipboardExpand all lines: lib/_tls_wrap.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ function onerror(err) {
426426
// so self._tlsError will return null instead of actual error
427427

428428
// Set closing the socket after emitting an event since the socket needs to
429-
// be accessible when the `tlsClientError` event is emmited.
429+
// be accessible when the `tlsClientError` event is emitted.
430430
owner._closeAfterHandlingError = true;
431431
owner.destroy(err);
432432
} else if (owner._tlsOptions?.isServer &&
Collapse file

‎src/base_object.h‎

Copy file name to clipboardExpand all lines: src/base_object.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ inline T* Unwrap(v8::Local<v8::Value> obj) {
250250
// reset to nullptr once the BaseObject is destroyed.
251251
// The API matches std::shared_ptr closely. However, this class is not thread
252252
// safe, that is, we can't have different BaseObjectPtrImpl instances in
253-
// different threads refering to the same BaseObject instance.
253+
// different threads referring to the same BaseObject instance.
254254
template <typename T, bool kIsWeak>
255255
class BaseObjectPtrImpl final {
256256
public:
Collapse file

‎src/dataqueue/queue.h‎

Copy file name to clipboardExpand all lines: src/dataqueue/queue.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ namespace node {
117117
//
118118
// For idempotent DataQueues, any number of readers can be created and
119119
// pull concurrently from the same DataQueue. The DataQueue can be read
120-
// multiple times. Succesful reads should always produce the same result.
120+
// multiple times. Successful reads should always produce the same result.
121121
// If, for whatever reason, the implementation cannot ensure that the
122122
// data read will remain the same, the read must fail with an error status.
123123
//
Collapse file

‎src/node_contextify.cc‎

Copy file name to clipboardExpand all lines: src/node_contextify.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ BaseObjectPtr<ContextifyContext> ContextifyContext::New(
246246
const ContextOptions& options) {
247247
HandleScope scope(env->isolate());
248248
// This only initializes part of the context. The primordials are
249-
// only initilaized when needed because even deserializing them slows
249+
// only initialized when needed because even deserializing them slows
250250
// things down significantly and they are only needed in rare occasions
251251
// in the vm contexts.
252252
if (InitializeContextRuntime(v8_context).IsNothing()) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.