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

npm Graph Parser is Broken for Lockfile Version v3 #191

Open
abhisek opened this issue Feb 6, 2024 · 0 comments
Open

npm Graph Parser is Broken for Lockfile Version v3 #191

abhisek opened this issue Feb 6, 2024 · 0 comments

Comments

@abhisek
Copy link
Member

abhisek commented Feb 6, 2024

vet fails to parse package-lock.json v3 with error:

scan failed due to error: json: cannot unmarshal array into Go struct field npmPackageLockPackage.packages.license of type string

This seems to be because in v3, license is an array instead of a string value.

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