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

[BUG] license validator does not match arborist #97

Open
1 task done
wraithgar opened this issue May 2, 2024 · 0 comments
Open
1 task done

[BUG] license validator does not match arborist #97

wraithgar opened this issue May 2, 2024 · 0 comments

Comments

@wraithgar
Copy link
Member

wraithgar commented May 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In arborist's inventory class it does its own attempts to normalize/account for license/licence but it ALSO is looking for licenses/licences, which @npmcli/package-json does not appear to to

https://github.com/npm/cli/blob/8ded848b099297a12a81ec008d6229f3ad3494a6/workspaces/arborist/lib/inventory.js#L62-L73

Expected Behavior

See if we can safely consolidate this normalization into this module, or at least see if we want to normalize the array/plural version.

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