npm / npm/cli

[BUG] npm outdated now hard to read

Open
#2,788 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug cmd:outdated Priority 2 Release 7.x Release 8.x
Dominant language
JavaScript
Stars
10.1k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
19

Description

Current Behavior:

running npm outdated now includes a more detailed "Location" description within node_modules, and there is now a "Depended by" column.

these new columns are helpful. however, they make it difficult to read the output, because the lines wrap.

example of current behavior:

problem

Expected Behavior:

output wraps columns so each row doesn't overflow

example of expected behavior:

expected

Steps To Reproduce:

run npm outdated

Environment:

OS: MacOS Catalina 10.15.7
Node: 14.8.0
npm: 7.5.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the wrapped output with npm outdated in the listed Node and npm environment, comparing it with the provided screenshots. Trace the npm CLI entry point that formats the outdated table and verify that the columns remain readable without overflowing; done means the output matches the expected layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.