Open varna opened 1 month ago
Reducing number of dependencies by replacing hat module with native crypto.randomUUID() which is well supported:
hat
crypto.randomUUID()
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID#browser_compatibility https://caniuse.com/mdn-api_crypto_randomuuid
This would push mapbox-gl-draw dev env to node 20 (or deno/bun). Node 18 is reaching end of maintenance next year, so idk if that's an issue for you.
mapbox-gl-draw
Reducing number of dependencies by replacing
hat
module with nativecrypto.randomUUID()
which is well supported:https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID#browser_compatibility https://caniuse.com/mdn-api_crypto_randomuuid
This would push
mapbox-gl-draw
dev env to node 20 (or deno/bun). Node 18 is reaching end of maintenance next year, so idk if that's an issue for you.