depth icon indicating copy to clipboard operation
depth copied to clipboard

Can show the dependencies version?

Open ChenHaoHu opened this issue 4 years ago • 2 comments

this repo is very good! thanks!

And , can show the dependencies version?

ChenHaoHu avatar Jul 22 '21 06:07 ChenHaoHu

Yes it would be very nice to see the dependency versions; ATM I'm trying to understand why a dependency (or one of its dependencies, etc.) depends on an out-of-date version of something else, the new version has removed API that it depends on, and I'm getting an undefined error in spite of the fact that it wants to explicitly keep using the old version that should still have the API. So I'm guessing the same dependency gets brought in at least two ways with conflicting versions, perhaps? If that is even possible, this tool could perhaps show it. Maybe even highlight version conflicts with ANSI color codes, and/or highlight out-of-date version numbers.

ec1oud avatar May 29 '22 10:05 ec1oud

Hey @ChenHaoHu,

I have implemented this feature of show dependency. Checkout my fork at JammUtkarsh/depth. It's currently in the no-internal-tree branch.

So in that branch you will get two addational features.

  1. Option to hide stdlib using -std flag
  2. Option to show version using -v flag.

I would love you know the thoughts of community on this implementation.

Update: It's been merged to my master

cc: @KyleBanks

jammutkarsh avatar Jun 19 '23 16:06 jammutkarsh