Skip to content

Read npm licenses from the selected release - #211

Open
codewithfourtix wants to merge 1 commit into
aboutcode-org:masterfrom
codewithfourtix:fix-npm-version-license
Open

Read npm licenses from the selected release#211
codewithfourtix wants to merge 1 commit into
aboutcode-org:masterfrom
codewithfourtix:fix-npm-version-license

Conversation

@codewithfourtix

Copy link
Copy Markdown

Older npm releases currently inherit the registry document's top-level license, even when their own metadata specifies another license. Prefer the selected release's license, keeping the existing fallback when it is absent.

Adds a regression with releases under different licenses.

Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>
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.

1 participant