Remove uuid npm package in favor of Crypto.randomUUID
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID is implemented by all of our supported browsers.
We might be able to replace GitLab's uuid npm dependency with a native implementation.
Some thoughts:
-
Crypto.randomUUIDonly produces v4 UUIDs, we may be using other UUID versions from the package. - The
uuidpackage claims to tree-shake effectively so the bundle size improvement might be minimal. - There might be a performance difference between the two implementations.