From 07a946be28952d0bad76102d541f3a25b9f43e76 Mon Sep 17 00:00:00 2001 From: sjungwon03 Date: Mon, 13 Jul 2026 12:28:17 +0900 Subject: [PATCH] doc: fix typos in documentation Fix typographical errors in API, contributor, and crypto docs. Signed-off-by: sjungwon03 --- doc/api/deprecations.md | 2 +- doc/api/errors.md | 2 +- doc/api/n-api.md | 6 +++--- doc/api/stream.md | 4 ++-- doc/contributing/advocacy-ambassador-program.md | 2 +- doc/contributing/issues.md | 2 +- doc/contributing/maintaining/maintaining-dependencies.md | 2 +- src/crypto/README.md | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 2109fbe54f93ea..330e4c0fcc6f76 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -4564,7 +4564,7 @@ The `module.register()` API provides off-thread async hooks for customizing ES m the `module.registerHooks()` API provides similar hooks that are synchronous, in-thread, and work for all types of modules. Supporting async hooks has proven to be complex, involving worker threads orchestration, and there are issues -that have proven unresolveable. See [caveats of asynchronous customization hooks][]. Please migrate to +that have proven unresolvable. See [caveats of asynchronous customization hooks][]. Please migrate to `module.registerHooks()` as soon as possible as `module.register()` will be removed in a future version of Node.js. diff --git a/doc/api/errors.md b/doc/api/errors.md index db3eb81eff6b90..fd6cd47cdde7fe 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -3441,7 +3441,7 @@ import 'package-name'; // supported added: v22.6.0 --> -Type stripping is not supported for files descendent of a `node_modules` directory. +Type stripping is not supported for files descendant of a `node_modules` directory. diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 1b1b21fe0ab769..72410ab7b5407d 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -4329,7 +4329,7 @@ napi_status napi_strict_equals(napi_env env, Returns `napi_ok` if the API succeeded. This API represents the invocation of the Strict Equality algorithm as -defined in [Section IsStrctEqual][] of the ECMAScript Language Specification. +defined in [Section IsStrictlyEqual][] of the ECMAScript Language Specification. ### `napi_detach_arraybuffer` @@ -4636,7 +4636,7 @@ They can be one or more of the following bit flags: opposed to an instance property, which is the default. This is used only by [`napi_define_class`][]. It is ignored by `napi_define_properties`. * `napi_default_method`: Like a method in a JS class, the property is - configurable and writeable, but not enumerable. + configurable and writable, but not enumerable. * `napi_default_jsproperty`: Like a property set via assignment in JavaScript, the property is writable, enumerable, and configurable. @@ -6986,7 +6986,7 @@ the add-on's file name during loading. [Section DefineOwnProperty]: https://tc39.es/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots-defineownproperty-p-desc [Section Function objects]: https://tc39.es/ecma262/#sec-function-objects [Section IsArray]: https://tc39.es/ecma262/#sec-isarray -[Section IsStrctEqual]: https://tc39.es/ecma262/#sec-strict-equality-comparison +[Section IsStrictlyEqual]: https://tc39.es/ecma262/#sec-strict-equality-comparison [Section Promise objects]: https://tc39.es/ecma262/#sec-promise-objects [Section SharedArrayBuffer objects]: https://tc39.es/ecma262/#sec-sharedarraybuffer-objects [Section ToBoolean]: https://tc39.es/ecma262/#sec-toboolean diff --git a/doc/api/stream.md b/doc/api/stream.md index 4af2940a62838a..f9e7a9bde71822 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3552,7 +3552,7 @@ changes: * `stream` {Stream|ReadableStream|WritableStream} A stream to attach a signal to. -Attaches an AbortSignal to a readable or writeable stream. This lets code +Attaches an AbortSignal to a readable or writable stream. This lets code control stream destruction using an `AbortController`. Calling `abort` on the `AbortController` corresponding to the passed @@ -3844,7 +3844,7 @@ const myWritable = new Writable({ Calling `abort` on the `AbortController` corresponding to the passed `AbortSignal` will behave the same way as calling `.destroy(new AbortError())` -on the writeable stream. +on the writable stream. ```js const { Writable } = require('node:stream'); diff --git a/doc/contributing/advocacy-ambassador-program.md b/doc/contributing/advocacy-ambassador-program.md index 6275003c82512d..ba79079245c607 100644 --- a/doc/contributing/advocacy-ambassador-program.md +++ b/doc/contributing/advocacy-ambassador-program.md @@ -196,7 +196,7 @@ Some of the things to highlight include: time we all have other responsibilities that affect how much time we have available to do so. * People are volunteering their time to review your PRs and answer questions in - the issues you open. Be mindfull of your asks for their time and acknowledge + the issues you open. Be mindful of your asks for their time and acknowledge the gift of their time. Too many issues/PRs in a short period of time may overwhelm maintainers leading to less progress versus more, try to pace your issues and PRs so that you don't have too many open at the same time. The diff --git a/doc/contributing/issues.md b/doc/contributing/issues.md index e9bbc4de28ed9e..c997c223b49ef8 100644 --- a/doc/contributing/issues.md +++ b/doc/contributing/issues.md @@ -60,7 +60,7 @@ activities, such as applying labels and closing/reopening/assigning issues. For more information on the roles and permissions, see ["Permission levels for repositories owned by an organization"](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization). -When triagging issues and PRs: +When triaging issues and PRs: * Show patience and empathy, especially to first-time contributors. * Show no patience towards spam or troll, close the issue without interacting with it and diff --git a/doc/contributing/maintaining/maintaining-dependencies.md b/doc/contributing/maintaining/maintaining-dependencies.md index f22c15561e65dc..d6950e42e79123 100644 --- a/doc/contributing/maintaining/maintaining-dependencies.md +++ b/doc/contributing/maintaining/maintaining-dependencies.md @@ -167,7 +167,7 @@ dependencies. The container provides a durable copy of the versions of the tools used for a specific build which are under the control of the Node.js -project. In addition, the tools and verions are documented through metadata +project. In addition, the tools and versions are documented through metadata within the container in the `/home/node/metadata directory`. The available tools can be found by looking at the current version of the diff --git a/src/crypto/README.md b/src/crypto/README.md index 8d66f34c6c29b9..cc5093a385cad3 100644 --- a/src/crypto/README.md +++ b/src/crypto/README.md @@ -4,7 +4,7 @@ Welcome. You've found your way to the Node.js native crypto subsystem. Do not be afraid. -While crypto may be a dark, mysterious, and forboding subject; and while +While crypto may be a dark, mysterious, and foreboding subject; and while this directory may be filled with many `*.h` and `*.cc` files, finding your way around is not too difficult. And I can promise you that a Gru will not jump out of the shadows and eat you (well, "promise" may be a