Skip to content

Remove uuid dependency, use built-in crypto.randomUUID()#1632

Merged
chagong merged 1 commit intomainfrom
fix/remove-uuid-dependency
Apr 28, 2026
Merged

Remove uuid dependency, use built-in crypto.randomUUID()#1632
chagong merged 1 commit intomainfrom
fix/remove-uuid-dependency

Conversation

@chagong
Copy link
Copy Markdown
Contributor

@chagong chagong commented Apr 28, 2026

Replace the uuid package with Node.js built-in crypto.randomUUID(). This removes the uuid dependency entirely, addressing the Dependabot alert for uuid v8 and avoiding compatibility issues with uuid v14+.

Supersedes #1630.

Changes

  • src/progressImpl.ts: Replace import { v4 } from "uuid" with import * as crypto from "crypto" and use crypto.randomUUID()
  • package.json: Remove uuid from dependencies
  • package-lock.json: Regenerated without uuid

Context

Replace the uuid package with Node.js built-in crypto.randomUUID(). This removes the uuid dependency entirely, addressing the Dependabot alert for uuid v8 and avoiding compatibility issues with uuid v14+.
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 1 pipeline(s).

@chagong chagong merged commit 0db5f15 into main Apr 28, 2026
8 checks passed
@chagong chagong deleted the fix/remove-uuid-dependency branch April 28, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants