dylang / npm-check

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

interactive mode skipping lines #332

Open surfaceowl opened 5 years ago

surfaceowl commented 5 years ago

npm-check works great on my system, except for strange behavior when using interactive mode - where I am unable to select alternate rows when using the up/down arrows and space bar, because the cursor jumps to the next line automatically. As an illustration from the list below I am able to select debug, but when I try to go down to nodemon - the cli skips immediately to the following item (react-ga). This happens going both up and down the list.

 Patch Update Backwards-compatible bug fixes.
 ( ) debug                   4.1.0   ❯  4.1.1    https://github.com/visionmedia/debug#readme
 ( ) nodemon                 1.18.6  ❯  1.18.10  http://nodemon.io
 ( ) react-ga                2.5.6   ❯  2.5.7    https://github.com/react-ga/react-ga
 ( ) react-transition-group  2.5.0   ❯  2.5.3    https://github.com/reactjs/react-transition-group#readme
 ( ) rimraf                  2.6.2   ❯  2.6.3    https://github.com/isaacs/rimraf#readme

The system specs are: Win 10 (build 17763); node v11.9.0, npm v6.7.0, git cl v2.16.2.windows.1

I am able to work around this by either a) repeating the npm-check -u cycle multiple times, or using the -y option to accept all upgrades.

However, it would be nice if this were fixed.

rustam-gaifiev commented 5 years ago

The same issue

hrafnkellbaldurs commented 5 years ago

Same issue here