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

fix: reject npm-style version specifiers above v0.4.0 #24

Merged
merged 6 commits into from
Sep 17, 2024

Conversation

DanielSchiavini
Copy link
Contributor

@DanielSchiavini DanielSchiavini commented Sep 17, 2024

What I did

  • FIxed issue when using the "^0.x.y" specifier
  • According to semver.npmjs.com the caret should work differently for 0.x versions
    image
  • For example:
    image

fix by rejecting npm-style specifiers above v0.4.0

How to verify it

  • Version specifier ^0.3.x should not accept vyper 0.4.0

Checklist

  • I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation (README.md)
  • I have added an entry to the changelog

@charles-cooper charles-cooper changed the title fix: issue with ^0. version specifiers fix: reject npm-style version specifiers above v0.4.0 Sep 17, 2024
@charles-cooper charles-cooper merged commit f813e1f into vyperlang:master Sep 17, 2024
9 of 10 checks passed
@DanielSchiavini DanielSchiavini deleted the detect-version branch September 17, 2024 15:29
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.

2 participants