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

mdtable: enable listing if a dependency is a direct dependency or not #41

Open
voxpelli opened this issue Mar 20, 2025 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@voxpelli
Copy link

I would love to have a column in the diff that indicates whether its a direct dependency or not (and if not it would be nice if one could somehow do something like composer depends --tree to figure out which direct dependencies it is that has caused its inclusion)

That way one can easier figure out if eg. a dependabot update might be better handled by upgrading the direct dependency rather than having it update a sub dependency

@IonBazan
Copy link
Owner

Thanks for the suggestion - I was thinking about this when implementing #40 and it is actually there when using json formatter. I decided not to add it in mdtable as it could be considered a breaking change unless someone needs it. Let me prepare a PR to add this 👍🏻 and I'll add you as reviewer.

@IonBazan IonBazan added the enhancement New feature or request label Mar 20, 2025
@voxpelli
Copy link
Author

I was thinking with a with-ancestry: true or something like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants