Skip to content

fix: Restore uuid to v11.1.1 - #1496

Merged
marco-saia-datadog merged 2 commits into
developfrom
sbarrio/fix/restore-uuid-to-8.3.2
Oct 19, 2026
Merged

marco-saia-datadog merged 2 commits into
developfrom
sbarrio/fix/restore-uuid-to-8.3.2

Conversation

@sbarrio

@sbarrio sbarrio commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Reverts changes done by #1490

The bump broke host app builds using the babel plugin while being built with node.js versions older than 22.12.

Motivation

The SDK should not break host app builds.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@sbarrio
sbarrio marked this pull request as ready for review October 16, 2026 08:58
@sbarrio
sbarrio requested a review from a team as a code owner October 16, 2026 08:58
Copilot AI balanced review requested due to automatic review settings October 16, 2026 08:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T10:33:53.228287Z 0996238 New commits
🔒 Security Review ✅ Completed 2026-10-16T10:34:53.456748Z 0996238 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The manifest and lockfile agree, and the plugin’s existing UUID v4 usage remains compatible.

0 open findings

What changed in this PR

Reverts the Babel plugin’s UUID upgrade from #1490 to restore host-app builds on Node.js versions older than 22.12.

Changes:

  • Restores the uuid dependency range to ^8.3.2.
  • Updates the lockfile to resolve UUID 8.3.2 instead of 14.0.3.
File Description
yarn.lock Restores the UUID 8.3.2 resolution.
packages/​react-native-babel-plugin/​package.json Restores the compatible UUID dependency range.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 80e4690c1d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"fast-glob": "^3.3.3",
"svgo": "^4.1.0",
"uuid": "^14.0.3"
"uuid": "^8.3.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the patched CommonJS uuid release

Every published plugin installation now pulls uuid 8.3.2, which is within the <11.1.1 affected range for GHSA-w5hq-g745-h8pq. Although this plugin currently invokes only the unaffected v4() API, consumers that enforce dependency-vulnerability gates will reject the package; uuid 11.1.1 backported the security fix while retaining CommonJS support, so that version can address the older-Node/CommonJS regression without restoring a known-vulnerable direct dependency.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cdn34dd Would it be safe for us to do this?, updating to 11.1.1 would be an improvement, but I don't know if something else would break on the babel plugin if we did.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 10:32
@sbarrio sbarrio changed the title fix: Restore uuid to v8.3.2 fix: Restore uuid to v11.1.1 Oct 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The manifest and lockfile agree, and UUID 11.1.1 supports the plugin’s existing UUID v4 usage.

0 open findings

🧠 Review effort: Balanced

@marco-saia-datadog
marco-saia-datadog merged commit a44b7ee into develop Oct 19, 2026
16 checks passed
@marco-saia-datadog
marco-saia-datadog deleted the sbarrio/fix/restore-uuid-to-8.3.2 branch October 19, 2026 10:23
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.

3 participants