Skip to content

Commit

Permalink
fix(react-email): Missing AbortSignal, Event and EventTarget missing …
Browse files Browse the repository at this point in the history
…in email globals
  • Loading branch information
gabrielmfern committed Oct 14, 2024
1 parent 2a8675a commit f295614
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/twenty-trainers-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-email": patch
---

Add AbortSignal, Event and EventTarget
3 changes: 3 additions & 0 deletions packages/react-email/src/utils/get-email-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ export const getEmailComponent = async (
...global,
console,
Buffer,
AbortSignal,
Event,
EventTarget,
TextDecoder,
Request,
Response,
Expand Down

0 comments on commit f295614

Please sign in to comment.