Skip to content

fix: update uuid from ^8.0.0 to ^11.1.1#145

Closed
kinyoklion wants to merge 3 commits into
mainfrom
devin/1778884546-update-uuid-package
Closed

fix: update uuid from ^8.0.0 to ^11.1.1#145
kinyoklion wants to merge 3 commits into
mainfrom
devin/1778884546-update-uuid-package

Conversation

@kinyoklion
Copy link
Copy Markdown
Member

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

N/A

Describe the solution you've provided

Updates the uuid dependency from ^8.0.0 to ^11.1.1. The v1 export used across the codebase (diagnosticEvents.js, AnonymousContextProcessor.js, EventSender.js) remains stable with no API changes required.

uuid v12+ dropped CommonJS support entirely, so v11 is the latest compatible major version for this CommonJS project. No code changes were needed beyond the version bump.

Describe alternatives you've considered

  • Upgrading to uuid v14 (latest) would require migrating the entire project from CommonJS to ESM, which is a much larger change than warranted for a dependency update.

Additional context

  • All 635 tests pass after the upgrade (including a new UUID v1 format validation test).
  • Lint passes cleanly.

Link to Devin session: https://app.devin.ai/sessions/63cc8da489324f20b17db43d0d296dea
Requested by: @kinyoklion

devin-ai-integration Bot and others added 2 commits May 15, 2026 22:36
Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com>
uuid v12+ dropped CommonJS support, so v11 is the latest
compatible version for this CommonJS project. No API changes
were required as the v1 export remains stable.

Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Remove the uuid package dependency and replace it with an inline
UUID v4 implementation adapted from js-core's browser SDK polyfill.
This avoids the CommonJS compatibility issue with uuid v12+ while
also eliminating the external dependency entirely.

Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com>
@kinyoklion kinyoklion closed this May 15, 2026
@kinyoklion kinyoklion deleted the devin/1778884546-update-uuid-package branch May 21, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant