You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A single module hyperid imports the base library uuid for generating Ids. This is now supported by default since nodejs 14.17 using the "crypto" module and the "randomUUID" method.
Feature Request
A single module
hyperid
imports the base library uuid for generating Ids. This is now supported by default since nodejs 14.17 using the "crypto" module and the "randomUUID" method.NodeJS 14.X docs about randomUUID: https://nodejs.org/docs/latest-v14.x/api/crypto.html#crypto_crypto_randomuuid_options
Desired Behavior
Remove external dependencies in favor of native nodejs uuid generation
Motivation
Simplicity and reduced asset sizes
Implementation
Replace body of
/src/uitilities/createUid.ts
with the following:I can open a PR if that would be helpful.
The text was updated successfully, but these errors were encountered: