Skip to content

fix(utils): Remove dom is casting - #4451

Merged
AbhiPrasad merged 1 commit into
masterfrom
abhi-is-cast-event
Jan 25, 2022
Merged

fix(utils): Remove dom is casting#4451
AbhiPrasad merged 1 commit into
masterfrom
abhi-is-cast-event

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Contributor

Fixes#4449

Make sure we don't cast to Element or Event as these helpers can be used in node environments.

@AbhiPrasad
AbhiPrasad enabled auto-merge (squash) January 25, 2022 15:25
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report

PathBase Size (4edac41)Current SizeChange
@sentry/browser - CDN Bundle (gzipped)19.68 KB19.68 KB+0.01% 🔺
@sentry/browser - CDN Bundle (minified)62.85 KB62.86 KB+0.01% 🔺
@sentry/browser - Webpack22.2 KB22.2 KB0%
@sentry/browser - Webpack - gzip = false75.99 KB75.99 KB0%
@sentry/react - Webpack22.24 KB22.24 KB0%
@sentry/nextjs Client - Webpack46.22 KB46.22 KB0%
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped)28.21 KB28.22 KB+0.01% 🔺

@AbhiPrasad
AbhiPrasad merged commit bf05736 into masterJan 25, 2022
@AbhiPrasad
AbhiPrasad deleted the abhi-is-cast-event branch January 25, 2022 15:35
Sign up for freeto 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.

Cannot compile TS with @sentry/node without lib: DOM definitions present

2 participants

@AbhiPrasad@kamilogorek