Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UUID depends is not necessary #24

Open
panther7 opened this issue Nov 9, 2023 · 1 comment
Open

UUID depends is not necessary #24

panther7 opened this issue Nov 9, 2023 · 1 comment

Comments

@panther7
Copy link

panther7 commented Nov 9, 2023

From NodeJs v14.17.0 is available in crypto module.

Example:

import { randomUUID: uuid } from 'crypto';
uuid();
@panther7
Copy link
Author

panther7 commented Nov 9, 2023

Or upgrade uuid to v7 (or newer)

Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant