Skip to content
Snippets Groups Projects
  • Jamie Tanna's avatar
    34ac6a82
    Add an `unknown` license if deps.dev can't determine one · 34ac6a82
    Jamie Tanna authored
    As noted in #304, there are cases where a dependency is found in
    deps.dev, but no license could be determined.
    
    In these cases, the Web UI indicates that the license is "unknown", but
    an empty array is returned by the API.
    
    For these cases, we should make it clear to a consumer that the license
    is `unknown`.
    
    We can do this where the information is used, rather than in the client,
    to make sure the client is a straightforward, docs-following,
    implementation.
    
    Closes #304.
    34ac6a82
    History
    Add an `unknown` license if deps.dev can't determine one
    Jamie Tanna authored
    As noted in #304, there are cases where a dependency is found in
    deps.dev, but no license could be determined.
    
    In these cases, the Web UI indicates that the license is "unknown", but
    an empty array is returned by the API.
    
    For these cases, we should make it clear to a consumer that the license
    is `unknown`.
    
    We can do this where the information is used, rather than in the client,
    to make sure the client is a straightforward, docs-following,
    implementation.
    
    Closes #304.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.