orbitjs / orbit

Composable data framework for ambitious web applications.
https://orbitjs.com
MIT License
2.33k stars 134 forks source link

Use crypto.randomUUID by default for Orbit.uuid #913

Closed dgeb closed 2 years ago

dgeb commented 2 years ago

A browser's built-in Crypto interface should provide the fastest and most secure UUID v4 implementation. Only default to the custom uuid function from @orbit/utils if crypto.randomUUID is not available.

Closes #902