-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
chore: pin stack-utils to 1.0.2 on legacy node tests #12365
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/32725/ |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 90abf24:
|
a4cef0b
to
3f1330a
Compare
.github/workflows/ci.yml
Outdated
yarn remove jest | ||
yarn add --dev jest@24 | ||
# Pin stack-utils to 1.0.2 https://github.com/tapjs/stack-utils/issues/56 | ||
yarn set resolution --save stack-utils@npm:^1.0.1 1.0.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bug - yarnpkg/berry#1598
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not meant for
yarn set resolution stack-utils 1.0.2
I mean the example usage
yarn set resolution stack-utils@^1.0.1 1.0.2
does not do the trick, but if I add npm:
, it works as expected.
yarn set resolution stack-utils@npm:^1.0.1 1.0.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right, it's expected see yarnpkg/berry#1598 (comment). Though we might improve that
3f1330a
to
90abf24
Compare
Will mark as ready for review once CI is green.
Closes #12364
Note that this PR does not mean Babel 7 does not support Node.js 6 because
stack-utils
is only used injest-message-utils
, it is not in Babel dependencies so we can pin it to a working version.