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

Doesn't correctly check version on devDependencies #1

Open
gnarf opened this issue Nov 7, 2012 · 3 comments
Open

Doesn't correctly check version on devDependencies #1

gnarf opened this issue Nov 7, 2012 · 3 comments

Comments

@gnarf
Copy link

gnarf commented Nov 7, 2012

See npm/read-installed#4 for the upstream issue.

npm ls currently doesn't properly check devDependencies

@jzaefferer
Copy link
Owner

Ben put together a custom check that we could adopt if those upstream issues don't get resolved: https://gist.github.com/cowboy/5067251

@andrewchilds
Copy link

+1 on adopting that implementation, since this is still an issue 11 months later.

@jzaefferer
Copy link
Owner

Ben's check iterates over the specified dependencies, so unlike npm ls, it doesn't care about dependencies that shouldn't be installed (since they aren't listed).

Though we've been using this plugin for various jQuery projects and I don't think the npm ls issues were ever a real issue.

Patches welcome!

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

3 participants