cost-of-modules icon indicating copy to clipboard operation
cost-of-modules copied to clipboard

Question: should `depth` be set when listing?

Open 43081j opened this issue 1 year ago • 0 comments

when i run cost-of-modules, i only actually get the immediate children and all of them have a child count of 0

if i update the ls command to have --depth=100, the output is then correct (i can see the number of children of each dependency)

maybe back when you wrote this, npm had different depth defaults? if you think its a bug, im happy to open a pr

43081j avatar Feb 04 '24 15:02 43081j