-
Notifications
You must be signed in to change notification settings - Fork 549
Setting/overwriting license for a dependency #814
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
I've been exploring the new experimental license scanning feature and find it quite impressive. However, I believe there's a crucial functionality that seems to be missing - the ability to specify the license for a dependency.
During my testing of this feature in our npm repository, I encountered several dependencies where the license information could not be detected due to various reasons:
- The license is not properly specified, resulting in the license being resolved as
UNKNOWN. An example of this is khroma, where the dependency license is declared as a MIT but it was not retrieved correctly. I suspect the necessary information is missing within the package.json. - The dependency is published under two or more licenses, requiring the user to select the appropriate one. type-fest is an example of this scenario.
Therefore, I propose the addition of a feature that allows users to manually set or overwrite the detected license of a dependency, optionally for a specific version or a version range.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request