Skip to content
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

Updating to @sentry/sveltekit@9.2.0 changes fetch response from any to unknown #15536

Open
3 tasks done
nonameolsson opened this issue Feb 28, 2025 · 0 comments
Open
3 tasks done
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK Waiting for: Product Owner

Comments

@nonameolsson
Copy link

nonameolsson commented Feb 28, 2025

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/sveltekit

SDK Version

9.2.0

Framework Version

SvelteKit 2.17.2

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Update from @sentry/sveltekit 9.1.0 to 9.2.0.
  2. Inspect response from an await fetch()

Expected Result

Type should stay the same any .
This is how it was in 9.1.0.
Image

Actual Result

Type is unknown.

Image

I'm not saying that this is totally wrong, since unknown is better to use than any. I just can't find a reason to this change, or where it took place.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Feb 28, 2025
@github-actions github-actions bot added the Package: sveltekit Issues related to the Sentry SvelteKit SDK label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK Waiting for: Product Owner
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

1 participant