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

Treat UNLICENSED as special case for comparisons #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Treat UNLICENSED as special case for comparisons #27

wants to merge 1 commit into from

Conversation

brettz9
Copy link

@brettz9 brettz9 commented Jan 9, 2020

  • Fix: Treat UNLICENSED as special case for comparisons (so it is not confused with "Unlicense")

Fixes #18 .

This issue is due to the fact that spdx-correct is not giving special treatment to "UNLICENSED", since it is not a SPDX identifier. As per the package maintainer at jslicense/spdx-correct.js#3 (comment) , consumers need to handle this case (which is indeed a part of npm even if not part of SPDX: https://docs.npmjs.com/files/package.json#license ).

(The other special npm case, "SEE LICENSE IN", thankfully doesn't seem to be "corrected" into anything else.)

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.

Incorrectly identifying UNLICENSED as public domain
1 participant