Skip to content

fix: various typos#3640

Merged
Uzlopak merged 3 commits intonodejs:mainfrom
NathanBaulch:typos
Sep 30, 2024
Merged

fix: various typos#3640
Uzlopak merged 3 commits intonodejs:mainfrom
NathanBaulch:typos

Conversation

@NathanBaulch
Copy link
Contributor

Just thought I'd contribute some typo fixes that I stumbled on. Nothing controversial (hopefully).

Use the following command to get a quick summary of the specific corrections made:

git diff HEAD^! --word-diff-regex='\w+' -U0 \ | grep -E '\[\-.*\-\]\{\+.*\+\}' \ | sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \ | sort | uniq -c | sort -n

FWIW, the top typos are:

  • contructor (3)
  • occured (2)
  • reuest (2)
  • shoudl (1)
  • afterwords (1)
  • availabile (1)
  • concatanete (1)
  • existant (1)
  • isable (1)
  • statu (1)
  • undinci (1)
### Return: `MockScope`

A `MockScope` is associated with a single `MockInterceptor`. With this, we can configure the default behaviour of a intercepted reply.
A `MockScope` is associated with a single `MockInterceptor`. With this, we can configure the default behaviour of an intercepted reply.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NathanBaulch I also do random PR-s with typos.
How do you spot wrong indefinite articles?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IntelliJ highlights them. I usually only fix them if the PR I'm working on isn't getting too out of hand.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@KhafraDev KhafraDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the changes to lib/web should be reverted.

@NathanBaulch
Copy link
Contributor Author

Is lib/web an upstream package @KhafraDev?

@KhafraDev
Copy link
Member

The comments come from the various whatwg specs we implement.

@Uzlopak Uzlopak dismissed KhafraDev’s stale review September 30, 2024 22:31

requested changes were applied

@Uzlopak Uzlopak changed the title Fix typos fix: various typos Sep 30, 2024
Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Uzlopak Uzlopak merged commit 29473db into nodejs:main Sep 30, 2024
@NathanBaulch NathanBaulch deleted the typos branch September 30, 2024 23:26
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
@github-actions github-actions bot mentioned this pull request Mar 12, 2025
@github-actions github-actions bot mentioned this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants