Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

refactor: move randomUUID to Crypto #3

Merged
merged 3 commits into from
Jan 23, 2021
Merged

refactor: move randomUUID to Crypto #3

merged 3 commits into from
Jan 23, 2021

Conversation

bcoe
Copy link
Collaborator

@bcoe bcoe commented Jan 18, 2021

In conversation with a few people, it's been suggested to me that crypto is a better home for randomUUID than the global Window object. Given the close relationship to Crypto.getRandomValues() I agree with this.

Node.js chose the module crypto for their implementation in node/36729.

CC: @domenic (for advice on spec), @jasnell (to keep you in the loop).


Preview | Diff

@bcoe bcoe requested review from broofa and ctavan January 18, 2021 20:16
index.html Outdated Show resolved Hide resolved
Co-authored-by: Domenic Denicola <d@domenic.me>
@bcoe bcoe merged commit 6bf93b5 into gh-pages Jan 23, 2021
@bcoe bcoe deleted the move-to-crypto branch January 23, 2021 17:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants