Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Use
crypto.randomUUID()
instead of uuid
module
The `crypto` global is available in all supported Node.js versions as well as [in all major browsers](https://caniuse.com/mdn-api_crypto_randomuuid). The uuid module is rendered unnecessary for uuidv4. `@react-three/drei` is currently downloaded about 253000 times per week, so about 13409000 times per year. `uuid@9` is about 3.7 kB in size (gzipped+minified). Removing this dependency saves about 50GB traffic per year.
- Loading branch information