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

jest-environment-jsdom: Bump JSDOM to 21.x #13833

Closed
wants to merge 1 commit into from

Conversation

eps1lon
Copy link
Contributor

@eps1lon eps1lon commented Jan 28, 2023

Summary

JSDOM changelog

They didn't change any library API. Only bug fixes (backwards incompatible in nature) and features for their DOM implementation. Perf improvements seem significant so this is worth the upgrade in my opinion

Types update is pending review.

Test plan

  • Test with override in dom-testing-library (will need to upgrade to Jest 29 first)

@SimenB
Copy link
Member

SimenB commented Jan 28, 2023

FWIW I've opened #13825. Do you not think it should be considered breaking for consumers? I.e. if they do something weird with location then their tests will break.

@eps1lon
Copy link
Contributor Author

eps1lon commented Jan 28, 2023

if they do something weird with location then their tests will break.

Assuming that they alligned their behavior with browsers, I would consider this a bug fix which means it doesn't warrant a SemVer MAJOR.

@eps1lon
Copy link
Contributor Author

eps1lon commented Jan 28, 2023

Closing in favor of #13825

@eps1lon eps1lon closed this Jan 28, 2023
@eps1lon eps1lon deleted the feat/bump-jsdom branch January 28, 2023 11:04
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants