Skip to content

feat(core): Add raw_security envelope types #14562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Dec 4, 2024

Adds types for the raw_security envelope type. These are displayed in Sentry as CSP violations.

@timfish timfish force-pushed the timfish/feat/csp-envelope branch from 350c7f4 to 28a75d6 Compare December 4, 2024 09:16
Copy link
Contributor

github-actions bot commented Dec 4, 2024

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.14 KB +0.09% +20 B 🔺
@sentry/browser - with treeshaking flags 21.86 KB +0.07% +14 B 🔺
@sentry/browser (incl. Tracing) 35.62 KB +0.04% +11 B 🔺
@sentry/browser (incl. Tracing, Replay) 72.49 KB +0.02% +13 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.99 KB +0.03% +17 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 76.81 KB +0.02% +13 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 89.3 KB +0.02% +15 B 🔺
@sentry/browser (incl. Feedback) 39.9 KB +0.05% +20 B 🔺
@sentry/browser (incl. sendFeedback) 27.75 KB +0.06% +15 B 🔺
@sentry/browser (incl. FeedbackAsync) 32.57 KB +0.05% +16 B 🔺
@sentry/react 25.83 KB +0.06% +14 B 🔺
@sentry/react (incl. Tracing) 38.51 KB +0.04% +12 B 🔺
@sentry/vue 27.28 KB +0.05% +13 B 🔺
@sentry/vue (incl. Tracing) 37.41 KB +0.04% +14 B 🔺
@sentry/svelte 23.29 KB +0.08% +19 B 🔺
CDN Bundle 24.34 KB +0.07% +15 B 🔺
CDN Bundle (incl. Tracing) 37.32 KB +0.05% +16 B 🔺
CDN Bundle (incl. Tracing, Replay) 72.18 KB +0.03% +15 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 77.52 KB +0.02% +15 B 🔺
CDN Bundle - uncompressed 71.47 KB +0.04% +24 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 110.76 KB +0.03% +24 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 223.83 KB +0.02% +24 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.04 KB +0.01% +24 B 🔺
@sentry/nextjs (client) 38.8 KB +0.04% +13 B 🔺
@sentry/sveltekit (client) 36.16 KB +0.04% +14 B 🔺
@sentry/node 134.85 KB +0.02% +15 B 🔺
@sentry/node - without tracing 96.85 KB +0.02% +15 B 🔺
@sentry/aws-serverless 109.18 KB +0.02% +12 B 🔺

View base workflow run

@timfish
Copy link
Collaborator Author

timfish commented Dec 4, 2024

Not sure why this impacts bundle size because none of the added code is referenced 🤔

@timfish timfish marked this pull request as ready for review December 4, 2024 09:29
@AbhiPrasad
Copy link
Member

I think it's a head of branch diff problem.

@AbhiPrasad AbhiPrasad merged commit 4103667 into develop Dec 5, 2024
157 checks passed
@AbhiPrasad AbhiPrasad deleted the timfish/feat/csp-envelope branch December 5, 2024 13:57
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.

2 participants