Skip to content

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