Repository navigation
fix(deps): update dependency @react-email/render to v2.2.0 [security] - #1188
Merged
Merged
Conversation
commit: |
klotty
approved these changes
Nov 4, 2026
klotty
left a comment
There was a problem hiding this comment.
No issues found across 4 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Lockfile-only security bump of @react-email/render to 2.2.0, with test fixtures switched from hand-made object mocks to real React elements; SDK consumers are unaffected and lint/typecheck/build/tests pass.
View guided diff | Re-trigger cubic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lockfile-only bump of
@react-email/renderfrom 2.0.0 to 2.2.0. It's an optional peer (*) that pnpm auto-installs for our tests, sopackage.jsonis unchanged. Version 2.2.0 useshtml-to-text10, which replaceddeepmergewithdeepmerge-ts, sodeepmergeleaves the lockfile.deepmergeitself has no patched release.Resolves Dependabot alert #150 (low).
This doesn't affect what SDK users get: they install their own
@react-email/render.Test fixture change
Four tests passed a hand-made
{ type: 'div', props: { children: 'Hi' } }object, cast toReact.ReactElement, as thereactemail. It lacks React's$$typeofmarker, so it was never a real element. render 2.0.0 happened to accept it, but 2.2.0 passes it to React, which throwsObjects are not valid as a React child. The tests now usecreateElement('div', null, 'Hi'), and the casts are gone. Real elements render fine on 2.2.0.src/emails/emails.spec.tssrc/broadcasts/broadcasts.spec.tssrc/batch/batch.spec.ts(2 tests)Verified locally:
pnpm install --frozen-lockfile,pnpm lint,pnpm typecheck,pnpm buildandpnpm testpass. The e2e job (Next.js and esbuild app builds) runs in CI.Summary by cubic
Resolves a low-severity dependency alert by upgrading the lockfile-only
@react-email/renderfrom 2.0.0 to 2.2.0. SDK users are unaffected because they install their own@react-email/render.Test fixture changes
{ type: 'div', props: ... }mocks with real React elements viacreateElement, since render 2.2.0 rejects objects lacking React's$$typeofmarker.Written for commit 7e1b8ec. Summary will update on new commits.