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

feat(dart): add dependency tree support #5366

Closed
DmitriyLewen opened this issue Oct 12, 2023 · 1 comment · Fixed by #5374
Closed

feat(dart): add dependency tree support #5366

DmitriyLewen opened this issue Oct 12, 2023 · 1 comment · Fixed by #5374
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. scan/vulnerability Issues relating to vulnerability scanning

Comments

@DmitriyLewen
Copy link
Contributor

DmitriyLewen commented Oct 12, 2023

Description

Dart uses package_config.json file (under the .dart_tool/ directory) - https://dart.dev/guides/packages#getting-packages
We can get path to dependency pubspec.yaml file and get list of child dependencies.

@DmitriyLewen DmitriyLewen added kind/feature Categorizes issue or PR as related to a new feature. scan/vulnerability Issues relating to vulnerability scanning labels Oct 12, 2023
@DmitriyLewen DmitriyLewen self-assigned this Oct 12, 2023
@DmitriyLewen
Copy link
Contributor Author

2nd way - parse pubspec.yaml files from cache dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. scan/vulnerability Issues relating to vulnerability scanning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant