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.randomUUID only produces v4 UUIDs, we may be using other UUID versions from the package.
  • The uuid package claims to tree-shake effectively so the bundle size improvement might be minimal.
  • There might be a performance difference between the two implementations.