Skip to content

Commit f295614

Browse files
committedOct 14, 2024
fix(react-email): Missing AbortSignal, Event and EventTarget missing in email globals
1 parent 2a8675a commit f295614

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎.changeset/twenty-trainers-argue.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-email": patch
3+
---
4+
5+
Add AbortSignal, Event and EventTarget

‎packages/react-email/src/utils/get-email-component.ts

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ export const getEmailComponent = async (
6565
...global,
6666
console,
6767
Buffer,
68+
AbortSignal,
69+
Event,
70+
EventTarget,
6871
TextDecoder,
6972
Request,
7073
Response,

0 commit comments

Comments
 (0)
Please sign in to comment.