Remove unused uuid devDependency#374
Conversation
The uuid package was listed in devDependencies but never imported anywhere. ID generation across src/ and test/ uses Node's built-in randomUUID() from node:crypto, so this dep is dead weight.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThis PR removes the Changes
Review Notes
|
There was a problem hiding this comment.
Review: Remove unused uuid devDependency
No issues found. This PR is correct and clean.
Verification
| Claim | Status |
|---|---|
uuid package not imported anywhere |
Confirmed — no from 'uuid' or require('uuid') in src/ or test/ |
All UUID generation uses node:crypto |
Confirmed — randomUUID imported from node:crypto in 5 files |
Only uuid text occurrence is a comment |
Confirmed — test/helpers/e2e-mutable-messages.ts comment uses the word generically |
| Lock file changes are consistent | The pnpm-lock.yaml diff correctly removes the uuid@13.0.0 entry and snapshot; the additional libc field additions on @rolldown/binding-* entries are unrelated incidental lockfile normalization |
Assessment
Straightforward dead dependency removal — no behavioral change, no test impact, no risk. The uuid package was never used; Node's built-in crypto.randomUUID() has been the actual implementation throughout. Also eliminates the open Dependabot bump to uuid@14 which would otherwise be noise.
Summary
uuidpackage is listed indevDependenciesbut is never imported anywhere in the codebase.src/base-command.ts,src/commands/auth/*, and several test helpers) uses Node's built-inrandomUUID()fromnode:crypto.test/helpers/e2e-mutable-messages.tsdescribing the format"e2e-mutable:<suffix>-<uuid>"— uses the word generically, not the package.This also makes the open Dependabot bump to
uuid@14redundant.Test plan
pnpm preparesucceedspnpm exec eslint .— 0 errorspnpm test:unit— 2295 passing