From 835bdf0e50bbb18a6fc9736c6a18fe658800b4f9 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 7 Jan 2021 13:33:24 -0800 Subject: [PATCH] doc: improve crypto.randomUUID() text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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: https://github.com/nodejs/node/pull/36830 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Antoine du Hamel Reviewed-By: Сковорода Никита Андреевич --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 78dd5b74845dbb..0c12b1fc77f519 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -3167,7 +3167,7 @@ added: REPLACEME * `options` {Object} * `disableEntropyCache` {boolean} By default, to improve performance, - Node.js will pre-emptively generate and persistently cache enough + Node.js generates and caches enough random data to generate up to 128 random UUIDs. To generate a UUID without using the cache, set `disableEntropyCache` to `true`. **Defaults**: `false`.