Skip to content

fix(opentelemetry): Avoid weakmap for storing data #11470

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
Apr 8, 2024
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Apr 8, 2024

It may happen that we have different modules, different versions etc. so the weakmaps may not be in sync. Just storing a non-enumerable property should be the safer choice here.

Partially required for next.js 13.4.19 to work....

It may happen that we have different modules, different versions etc. so the weakmaps may not be in sync. Just storing a non-enumerable property should be the safer choice here.
@mydea mydea requested review from lforst and s1gr1d April 8, 2024 09:22
@mydea mydea self-assigned this Apr 8, 2024
@mydea mydea merged commit f284116 into develop Apr 8, 2024
@mydea mydea deleted the fn/avoid-weakmap branch April 8, 2024 10:37
mydea added a commit that referenced this pull request Apr 8, 2024
It may happen that we have different modules, different versions etc. so
the weakmaps may not be in sync. Just storing a non-enumerable property
should be the safer choice here.

Partially required for next.js 13.4.19 to work....
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
It may happen that we have different modules, different versions etc. so
the weakmaps may not be in sync. Just storing a non-enumerable property
should be the safer choice here.

Partially required for next.js 13.4.19 to work....
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