dylang / npm-check

Check for outdated, incorrect, and unused dependencies.
https://www.npmjs.com/package/npm-check
MIT License
6.58k stars 237 forks source link

The core features of this library need work #366

Open joshuambg opened 5 years ago

joshuambg commented 5 years ago
$ npx npm-check
@angular-redux/store    😕  NOTUSED?  Still using @angular-redux/store?

Many files use this dependency in a variety of ways. Like, really? This library isn't smart enough to find these?

import { NgRedux, ObservableStore } from '@angular-redux/store'
import { MockNgRedux } from '@angular-redux/store/testing'

Same story with many other NOTUSED? modules. Incorrect analysis. Needs work.

Artoria2e5 commented 4 years ago

This program uses depcheck for whatever you are referring as "core". Try npx depcheck. If it works we only need a dep upgrade (plenty of existing PRs for that); if it doesn't you should open an issue there.

blwinters commented 3 years ago

Linking the issue I created in the depcheck repo related to this: https://github.com/depcheck/depcheck/issues/673