You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
New installations of jest-cli that use a version <=v22.3.0 break.
If you look at the package.json for any of the versions in that range the dependency version specified for jest-util is ^22.3.0 which will resolve to jest-util 22.x.x. As of jest-util version 22.4.0 a breaking change was added where the validateCLIOptions method was moved from jest-util to jest-validate. This is the PR and commit in question:
What is the expected behavior?
That a backwards compatible version of jest-util exists in the 22.x.x version range.
I honestly think it might be better to use ~ instead of ^ on dependency versions so this sort of thing doesn't happen in the future.
The text was updated successfully, but these errors were encountered:
Sorry about this, but we won't go back and fix it.
I honestly think it might be better to use ~ instead of ^ on dependency versions so this sort of thing doesn't happen in the future.
We could potentially lock down the deps from within this repo, they don't really need the range (jest and jest-cli would always point to the correct one for that version)
This issue 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.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
New installations of jest-cli that use a version <=v22.3.0 break.
If you look at the package.json for any of the versions in that range the dependency version specified for jest-util is ^22.3.0 which will resolve to jest-util 22.x.x. As of jest-util version 22.4.0 a breaking change was added where the validateCLIOptions method was moved from jest-util to jest-validate. This is the PR and commit in question:
#5536
ba1366b#diff-c4d2f45d479f76f83c356be6fe8d74f9L50
What is the expected behavior?
That a backwards compatible version of jest-util exists in the 22.x.x version range.
I honestly think it might be better to use ~ instead of ^ on dependency versions so this sort of thing doesn't happen in the future.
The text was updated successfully, but these errors were encountered: