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

Over-counting dependencies? #10

Closed
benmccann opened this issue Jul 2, 2024 · 4 comments
Closed

Over-counting dependencies? #10

benmccann opened this issue Jul 2, 2024 · 4 comments

Comments

@benmccann
Copy link

The dependency count in the report seems quite high to me

Also, consider the comparison between these two tools. I'm not sure why they're showing different output

svelte$ npx dependency-maintainers | grep ljharb
│ 81      │ 'ljharb'                              │ 3          │
svelte$ npx ihimnm
None found!
@NullVoxPopuli
Copy link
Owner

NullVoxPopuli commented Jul 2, 2024

ihimnm doesn't check peers (important due to how, by default, package-managers install them for you)

see:

See also: #8 (comment)

@benmccann
Copy link
Author

Hmm. I think there's some other difference. If I copy the ihimnm source into the svelte root directory and update it so that it includes peerDependencies it still returns "None found!"

@NullVoxPopuli
Copy link
Owner

hmm -- you could be running in to an npx cache with dependency-maintainers -- it's potentially too aggressive. Try npx dependency-maintainers@latest to force npx to clear its cache for dependency-maintainers

@benmccann
Copy link
Author

Aha! That was it. Thank you!

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

No branches or pull requests

2 participants