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

feat(debugid): Update debug ID snippet to write on globalThis when available #2301

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented Dec 5, 2024

Similar to getsentry/sentry-javascript-bundler-plugins#636 we want to write debug IDs to globalThis for runtimes that do not support the other global objects.

Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

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

@lforst This is not a breaking change, correct?

If it is not, then I think we can merge this (although maybe someone more familiar with JS should also review).

I think this change should also address the concerns raised by @JakeShirley on #2162

@lforst
Copy link
Member Author

lforst commented Dec 5, 2024

Correct, this is not a breaking change. Tagging @Lms24 for a review.

@lforst lforst requested a review from Lms24 December 5, 2024 15:36
@lforst lforst merged commit 44e215d into master Dec 5, 2024
14 checks passed
@lforst lforst deleted the lforst-globalThis branch December 5, 2024 15:42
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.

3 participants