npm outdated should list deprecated packages as well
#670
Replies: 2 comments 1 reply
-
|
If you use NPM V7 or later, you should have a Could also use |
Beta Was this translation helpful? Give feedback.
-
|
I think the issue for me was that With them being there, it's a simple query to generate the table above so I'm going to close this ticket out. If I get time I'll try to dig into why I was missing deprecation warnings for my |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Currently there isn't a great way to easily visualize all packages that are deprecated.
Historically you could run
npm installand it would output deprecated packages during/after the install. However with [email protected] I cannot find an easy way to list all deprecated packages within a repository currently:npm i --ignore-scripts --no-fund --no-audit- Only outputs the added packages no deprecation warningsnpm i --ignore-scripts --no-fund- Outputs audit info but no deprecation warningsnpm i- Still no deprecation warningsFurther
npm outdateddoesn't include deprecations or deprecation messages to help keep your packages up to date. IMO a deprecated package is something that could classify as "outdated".With that said, IMO historically depending on
npm ito list deprecated packages in previous versions of npm wasn't ideal to begin with.Proposal
Add deprecated as a column for
npm outdated. The way the output could look like is the following:Beta Was this translation helpful? Give feedback.
All reactions