Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Jan 15, 2025

The SvelteKit SDK injects a small inline <script> into the server-side rendered HTML responses of SvelteKit applications. Due to concerns raised with setting a nonce to except this script from being blocked, this PR removes the nonce documentation in favor of a better, hash-based CSP exception approach.

@vercel
Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 2:13pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 2:13pm
develop-docs ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 2:13pm

@Lms24 Lms24 force-pushed the lms/ref-sveltekit-rem-nonce-for-hash branch from 3701010 to 6948d52 Compare January 15, 2025 13:30
@Lms24 Lms24 force-pushed the lms/ref-sveltekit-rem-nonce-for-hash branch from 6948d52 to 33fa844 Compare January 15, 2025 13:31
@Lms24 Lms24 requested review from mdtro and oioki January 15, 2025 13:34
@Lms24 Lms24 self-assigned this Jan 15, 2025
@codecov
Copy link

codecov bot commented Jan 15, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 10.37MB 9 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 9.3MB 6 bytes (-0.0%) ⬇️

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates, LGTM!

@Lms24 Lms24 merged commit 0151c6e into master Jan 16, 2025
11 checks passed
@Lms24 Lms24 deleted the lms/ref-sveltekit-rem-nonce-for-hash branch January 16, 2025 07:51
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants