refactor: Replace UUID dependency with window.crypto.randomUUID() #1031

Closed
opened 2026-04-05 16:45:52 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @gizmo-ds on 7/16/2023

Remove the UUID dependency and replaces it with
the window.crypto.randomUUID() method. By utilizing the native browser function, we eliminate the need for an external library.

Using randomUUID() as a replacement for the uuid dependency is feasible since both of them implement UUID v4.
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID

*Originally created by @gizmo-ds on 7/16/2023* Remove the UUID dependency and replaces it with the `window.crypto.randomUUID()` method. By utilizing the native browser function, we eliminate the need for an external library. Using randomUUID() as a replacement for the uuid dependency is feasible since both of them implement UUID v4. https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#1031