fix(outdated): add dependent location in long output#8110
Merged
wraithgar merged 2 commits intonpm:latestfrom Apr 11, 2025
Merged
fix(outdated): add dependent location in long output#8110wraithgar merged 2 commits intonpm:latestfrom
wraithgar merged 2 commits intonpm:latestfrom
Conversation
1a9409c to
d0260b2
Compare
Member
|
I think "Dependent location" may not be the best phrasing, but don't know off the top of my head what we'd use instead. Dependent is usually the package that is required by another package, which is the opposite of what we want. "Depended by" is how we define it in the output already. |
Member
|
We will also need to update https://docs.npmjs.com/cli/v11/commands/npm-outdated |
Contributor
Author
|
Yeah... I completely missed that documentation part.. I am also rethinking whether in cli output it adds any value since we use package id format for DependedBy field which is much cleaner. Change might only makes sense in |
d0260b2 to
f759f47
Compare
milaninfy
commented
Mar 6, 2025
wraithgar
reviewed
Mar 7, 2025
3ae774b to
580566d
Compare
Co-authored-by: Gar <wraithgar@github.com>
580566d to
9dbc2b3
Compare
wraithgar
approved these changes
Apr 11, 2025
Merged
reggi
pushed a commit
that referenced
this pull request
Apr 17, 2025
Add dependent location details when using `--long` version of the output to identify who is the dependent of the outdated dependencies. Fixes: #7736 Test output <img width="1443" alt="Screenshot 2025-04-02 at 1 27 02 PM" src="https://github.com/user-attachments/assets/cf9cd91e-06c1-403b-a57e-53fa9d80ef01" /> --------- Co-authored-by: Gar <wraithgar@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add dependent location details when using
--longversion of the output to identify who is the dependent of the outdated dependencies.Fixes: #7736
Test output
