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

test: fix issue with peerDeps checking with semver #590

Closed
wants to merge 1 commit into from

Conversation

theoludwig
Copy link
Contributor

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix
[ ] New feature
[x] Other, please explain: Updated the test, so it passes again

What changes did you make? (Give an overview)

Since eslint-config-standard@16.0.3, the test fails because the peerDependencies is like this "eslint-plugin-promise": "^4.2.1 || ^5.0.0", and we were checking the strict equality, but instead we should use semver to check if it satisfies the peerDependencies.

Copy link
Owner

@mightyiam mightyiam left a comment

Choose a reason for hiding this comment

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

I think the point is that they're identical rather than one satisfying the other. #596.

@mightyiam
Copy link
Owner

So, to be clear, #596 probably supercedes the (unfiled) issue that this PR is attempting to solve.

@theoludwig
Copy link
Contributor Author

Closing as #596 will close the issue possibly fixed thanks to this PR.

@theoludwig theoludwig closed this Jun 30, 2021
@theoludwig theoludwig deleted the test/fix-peerDeps-checking branch June 30, 2021 21:11
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.

None yet

2 participants