You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
Syft cannot get a license from a package.json file in a nested node_modules dir.
If library A is in a nested node_module dir, like following, then Syft cannot output its license.
| --- yarn.lock <--- including library A as a dependency
| --- node_modules
| --- library B
| --- node_modules
| --- library A
| --- package.json <--- including a license field
What you expected to happen:
The license of library A is also included in the output.
Steps to reproduce the issue:
I happen to this issue when I use @storybook/addon-docs@6.5.16.
Following steps can reproduce this issue.
Hi @sasakiyuta84, thanks for the report and great reproduction steps and sorry it took a while to reply. We will take a closer look and see if we can tell what's going on here.
What happened:
Syft cannot get a license from a
package.json
file in a nested node_modules dir.If library A is in a nested node_module dir, like following, then Syft cannot output its license.
What you expected to happen:
The license of library A is also included in the output.
Steps to reproduce the issue:
I happen to this issue when I use
@storybook/addon-docs@6.5.16
.Following steps can reproduce this issue.
Anything else we need to know?:
This issue does not occur when I use
npm i @storybook/addon-docs@6.5.16
instead ofyarn add
.And yarn version is:
Environment:
syft version
:cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: