puzpuzpuz / cls-rtracer

Request Tracer - CLS-based request id generation for Express, Fastify, Koa and Hapi, batteries included
MIT License
311 stars 24 forks source link

Update uuid, relax semver bounds #52

Closed sluukkonen closed 3 years ago

sluukkonen commented 3 years ago

This is a small thing, but it feels like the right thing to do, especially since each instance of the uuid modules allocates a separate buffer for cached values.

puzpuzpuz commented 3 years ago

This is a small thing, but it feels like the right thing to do, especially since each instance of the uuid modules allocates a separate buffer for cached values.

The entropy pool is only used for UUID v4 (the crypto random one), while cls-rtracer uses UUID v1 (the node id + clock time one). But I don't mind upgrading this dependency.