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

add semver support for excluded packages #62

Open
yaroslavya opened this issue Feb 23, 2023 · 0 comments
Open

add semver support for excluded packages #62

yaroslavya opened this issue Feb 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@yaroslavya
Copy link

Is your feature request related to a problem? Please describe.
Currently once version of the package in excluded packages is changed license validation step fails. This adds unneeded friction to ci/cd pipelines. While this might be the intention for some being able to provide an npm semver compliant version would benefit at least some of the users.

Describe the solution you'd like
Allow semver, so instead of always providing the exact version one can use some of the following:

{
  "dependencies": {
    "foo": "1.0.0 - 2.9999.9999",
    "bar": ">=1.0.2 <2.1.2",
    "baz": ">1.0.2 <=2.3.4",
    "boo": "2.0.1",
    "qux": "<1.0.0 || >=2.3.1 <2.4.5 || >=2.5.2 <3.0.0",
    "asd": "http://asdf.com/asdf.tar.gz",
    "til": "~1.2",
    "elf": "~1.2.3",
    "two": "2.x",
    "thr": "3.3.x",
    "lat": "latest",
    "dyl": "file:../dyl"
  }
}

Describe alternatives you've considered
AFAIK the only alternative would be to either change the version of the packages or exclude the license completely, that is not secure.

@yaroslavya yaroslavya added the enhancement New feature or request label Feb 23, 2023
@inigomarquinez inigomarquinez added this to the 2023 Q3 milestone Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To Do
Development

No branches or pull requests

2 participants