From 75ed4fd406797723426c343313caa94b8ace2204 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Fri, 24 Apr 2026 03:12:55 +0900 Subject: [PATCH 1/3] doc: fix duplicate word "for for" in compile cache --- doc/api/module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/module.md b/doc/api/module.md index ac08d9af3e4f14..fba7830180e122 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -372,7 +372,7 @@ This may slow down the first load of a module graph, but subsequent loads of the graph may get a significant speedup if the contents of the modules do not change. To clean up the generated compile cache on disk, simply remove the cache directory. The cache -directory will be recreated the next time the same directory is used for for compile cache +directory will be recreated the next time the same directory is used for compile cache storage. To avoid filling up the disk with stale cache, it is recommended to use a directory under the [`os.tmpdir()`][]. If the compile cache is enabled by a call to [`module.enableCompileCache()`][] without specifying the `directory`, Node.js will use From 57a739759af3bf541f641534fc47fbe2e1260c6f Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Fri, 24 Apr 2026 03:13:21 +0900 Subject: [PATCH 2/3] doc: fix duplicate word "to to" in util.styleText --- doc/api/util.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/util.md b/doc/api/util.md index b9e21d8da8022f..378cec3ca894c9 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2555,7 +2555,7 @@ changes: * `format` {string | Array} A text format or an Array of text formats defined in `util.inspect.colors`, or a hex color in `#RGB` or `#RRGGBB` form. -* `text` {string} The text to to be formatted. +* `text` {string} The text to be formatted. * `options` {Object} * `validateStream` {boolean} When true, `stream` is checked to see if it can handle colors. **Default:** `true`. * `stream` {Stream} A stream that will be validated if it can be colored. **Default:** `process.stdout`. From 5589ca983c15067c7a669b3bdb80d4b02ac05727 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Fri, 24 Apr 2026 03:15:17 +0900 Subject: [PATCH 3/3] doc: fix duplicate word "of of" in postMessageToThread --- doc/api/worker_threads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 6fee0d8368a914..ed90ee2a45644d 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -513,7 +513,7 @@ parent or child of the current thread. If the two threads are parent-children, use the [`require('node:worker_threads').parentPort.postMessage()`][] and the [`worker.postMessage()`][] to let the threads communicate. -The example below shows the use of of `postMessageToThread`: it creates 10 nested threads, +The example below shows the use of `postMessageToThread`: it creates 10 nested threads, the last one will try to communicate with the main thread. ```mjs