-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
[YARN] use only top-level .lock file to avoid inflating BOM with uninstalled package versions #180
Comments
THanks for the report, @thediveo. |
this issue might be related to |
this issue is related to #86 |
Please use @thediveo/lxkns as an example. Change into |
Thanks @thediveo could you share what you see VS what you expect? Which package did you find in the bom, but expect it not to be in there? |
YARN support was added via #282 this should close the issue, then. |
will give it a try, thank you very much! |
hm, this still looks very very strange. In the above mentioned open source project I run
eh? But let's ask yarn:
Hmm, what am I doing wrong here or assuming that isn't correct? This BOM doesn't reflect what yarn tells me. |
reproduced the report ran
then i am finding one in searching for the
|
looking at lock files is still dump. could be fixed via #215 |
there goes my simple belief in lock files 😆 ... many thanks for |
❗ the yarn support got a dedicated project in the making: https://github.com/CycloneDX/cyclonedx-node-yarn |
When I run cyclonedx-bom on a yarn-managed project with a yarn.lock file, the BOM contains lots of package versions that aren't installed, as yarn resolves into a single version. Based on a seemingly similar issue that turned up in the context of the syft BOM scanner, anchore/syft#431, this might be due to not ignoring nested .lock files.
The text was updated successfully, but these errors were encountered: