Comments (2)
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.
- Option to hide stdlib using
-std
flag - 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
from depth.
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.
from depth.
Related Issues (15)
- Handle relative paths from the command line
- Emit "internal" key in JSON output HOT 2
- If local Go is different version than Go used to compile `depth`, `tree.Resolve` fails with an unhelpful error message
- Does it work for package 'main'? HOT 2
- "depth" does not seem to work on any packages other than "depth" HOT 7
- I had the same problem, but it worked when it called it from the `cmd` folder (where `main.go` is) HOT 1
- depth crashes when it is unable to resolve an imported package
- HELP!FATAL: unable to resolve root package HOT 3
- Possible performance issue detected in downstream library using `depth` HOT 4
- When package is replaced, the result is wrong.
- Improve dependency resolution speed with concurrency HOT 2
- Output a summary after tree HOT 5
- depth fails with no output when run from source HOT 3
- Please create tag v1.1.1 instead of v.1.1.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from depth.