davglass / license-checker

Check NPM package licenses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License not recognized due to casing

Treiblesschorle opened this issue · comments

The package cluster-key-slot1.1.0 specifies the non-standard license name APACHE-2.0, see https://github.com/invertase/cluster-key-slot/blob/v1.1.0/package.json. This gets recognizes as Apache*.
To reproduce:
npx license-checker --packages 'cluster-key-slot@1.1.0'
It could be recognized as Apache-2.0 if only the casing differs.