Skip to content

Commit 835bdf0

Browse files
Trottdanielleadams
authored andcommitted
doc: improve crypto.randomUUID() text
* Use present tense. * Remove "persistently" which suggests that the cache persists across Node.js runs. * Remove "pre-emptively". I think "proactively" is what was meant as nothing is being pre-empted here. Regardless of what the adverby should be, it seems unnecessary. PR-URL: #36830 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]>
1 parent d4bcb36 commit 835bdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3167,7 +3167,7 @@ added: REPLACEME
31673167

31683168
* `options` {Object}
31693169
* `disableEntropyCache` {boolean} By default, to improve performance,
3170-
Node.js will pre-emptively generate and persistently cache enough
3170+
Node.js generates and caches enough
31713171
random data to generate up to 128 random UUIDs. To generate a UUID
31723172
without using the cache, set `disableEntropyCache` to `true`.
31733173
**Defaults**: `false`.

0 commit comments

Comments
 (0)