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 08ad2f6

Browse filesBrowse files
bl-uedanielleadams
authored andcommitted
lib: fix typos
PR-URL: #38846 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent f25cd4f commit 08ad2f6
Copy full SHA for 08ad2f6

File tree

Expand file treeCollapse file tree

4 files changed

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

4 files changed

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

‎lib/internal/modules/cjs/loader.js‎

Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/loader.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ Module._resolveFilename = function(request, parent, isMain, options) {
913913
}
914914
}
915915

916-
// Try module self resoultion first
916+
// Try module self resolution first
917917
const parentPath = trySelfParentPath(parent);
918918
const selfResolved = trySelf(parentPath, request);
919919
if (selfResolved) {
Collapse file

‎lib/internal/util.js‎

Copy file name to clipboardExpand all lines: lib/internal/util.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ function promisify(original) {
349349

350350
promisify.custom = kCustomPromisifiedSymbol;
351351

352-
// The build-in Array#join is slower in v8 6.0
352+
// The built-in Array#join is slower in v8 6.0
353353
function join(output, separator) {
354354
let str = '';
355355
if (output.length !== 0) {
Collapse file

‎lib/internal/util/comparisons.js‎

Copy file name to clipboardExpand all lines: lib/internal/util/comparisons.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,9 @@ function setEquiv(a, b, strict, memo) {
427427
if (set === null) {
428428
set = new SafeSet();
429429
}
430-
// If the specified value doesn't exist in the second set its an not null
430+
// If the specified value doesn't exist in the second set it's a non-null
431431
// object (or non strict only: a not matching primitive) we'll need to go
432-
// hunting for something thats deep-(strict-)equal to it. To make this
432+
// hunting for something that's deep-(strict-)equal to it. To make this
433433
// O(n log n) complexity we have to copy these values in a new set first.
434434
set.add(val);
435435
} else if (!b.has(val)) {
Collapse file

‎lib/internal/util/inspect.js‎

Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ inspect.colors = ObjectAssign(ObjectCreate(null), {
361361
italic: [3, 23],
362362
underline: [4, 24],
363363
blink: [5, 25],
364-
// Swap forground and background colors
364+
// Swap foreground and background colors
365365
inverse: [7, 27], // Alias: swapcolors, swapColors
366366
hidden: [8, 28], // Alias: conceal
367367
strikethrough: [9, 29], // Alias: strikeThrough, crossedout, crossedOut

0 commit comments

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