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

Package json "licenses" field uses invalid format, use SPDX expressions instead #352

Open
golgobot opened this issue Jul 8, 2019 · 1 comment

Comments

@golgobot
Copy link

golgobot commented Jul 8, 2019

According to the npm's package.json documentation:

Some old packages used license objects or a “licenses” property containing an array of license objects ... Those styles are now deprecated. Instead, use SPDX expressions, like this:

{ "license": "ISC" }
{ "license": "(MIT OR Apache-2.0)" }

This is an issue because many companies will not include this package in its internal npm registry mirror unless it uses an approved license. Because the license field is malformed, npm reports this package as have license type "none", so it's excluded from the internal mirror. This is currently a blocking issue for us.

Thanks

@golgobot
Copy link
Author

golgobot commented Jul 8, 2019

#353

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

No branches or pull requests

1 participant