mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
9e1460b9e1
This PR swaps usage of the `uuid` library for the built-in `crypto.randomUUID` function, which is available in both NodeJS and the browser. The built-in function is around 12x faster than the `uuid` library. The strings produced by the built-in function are fully compatible with the UUIDv4 standard, so it's an easy switch. |
||
---|---|---|
.. | ||
endpoints.ts | ||
fontutil.ts | ||
getenv.ts | ||
ijson.ts | ||
isdev.ts | ||
keyutil.ts | ||
layoututil.ts | ||
util.ts |