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

Fix ES6 Map/Set checks for cross-window scripts #3893

Merged
merged 3 commits into from
Jun 30, 2024
Merged

Conversation

g6123
Copy link
Contributor

@g6123 g6123 commented Jun 27, 2024

Related Issue

Fixes #3892

Code change checklist

  • Added/updated unit tests
  • Updated /docs. For new functionality, at least API.md should be updated
  • Verified that there is no significant performance drop (yarn mobx test:performance)

Do I have to add unit tests for this change? I'm not sure is it even possible to make cross-realm ES6 Map/Set instance in jest/jsdom test envionrment.

Copy link

changeset-bot bot commented Jun 27, 2024

🦋 Changeset detected

Latest commit: 8ddd0b4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
mobx Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@g6123 g6123 requested a review from urugator June 28, 2024 04:45
@urugator
Copy link
Collaborator

Can you add a changeset (yarn changeset)? Besides that looks good. Thank you.

@g6123
Copy link
Contributor Author

g6123 commented Jun 29, 2024

Thank you. I added changeset.

@g6123
Copy link
Contributor Author

g6123 commented Jun 29, 2024

When do you think this change will be released? I've applied patch my project for now (via pnpm patch), but I'd be happy if I could install the released version.

@urugator urugator merged commit ba89034 into mobxjs:main Jun 30, 2024
1 check passed
@github-actions github-actions bot mentioned this pull request Jun 30, 2024
@urugator
Copy link
Collaborator

https://github.com/mobxjs/mobx/releases/tag/mobx%406.12.5

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.

Cannot initialize observable Map/Sets from another window
2 participants