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

Lock source-map-support verion to 0.5.13 #12720

Merged
merged 2 commits into from
Apr 23, 2022

Conversation

F3n67u
Copy link
Contributor

@F3n67u F3n67u commented Apr 23, 2022

Summary

source-map-support 0.5.14 introduces a "breaking change" which will cause the original function name gets lost in the Jest error stack in the jest scenario. see this issue #10633.

I think we should let source-map-support stay to 0.5.13 explicitly on package.json because ^0.5.6 could resolve to a version above 0.5.13. this will cause a problem on the user side.

I am working on Yarn dedupe check on ci. When I ran yarn dedupe on jest codebase, source-map-support will resolve to the latest version 0.5.21 which break a lot of snapshot test because the "breaking change" source-map-support 0.5.14 introduces. see this run for detail: https://github.com/facebook/jest/pull/12717/checks?check_run_id=6138255708

Test plan

Green CI.

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

works for me 🙂

changelog entry?

@F3n67u F3n67u changed the title source-map-support stay on 0.5.13 Lock source-map-support verion to 0.5.13 Apr 23, 2022
@F3n67u F3n67u force-pushed the chore/source-map-support branch from 22212f7 to 584be79 Compare April 23, 2022 11:05
@F3n67u F3n67u force-pushed the chore/source-map-support branch from 584be79 to cfdd94a Compare April 23, 2022 11:06
@F3n67u
Copy link
Contributor Author

F3n67u commented Apr 23, 2022

works for me 🙂

changelog entry?

updated! thanks for the review.

@SimenB SimenB merged commit 7a8c9cf into jestjs:main Apr 23, 2022
@F3n67u F3n67u deleted the chore/source-map-support branch April 23, 2022 11:58
F3n67u added a commit to F3n67u/jest that referenced this pull request May 2, 2022
@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 May 24, 2022
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.

3 participants