pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

Show link for "packages that depend transitively on this" in package sidebar

Open AlexV525 opened this issue 1 year ago • 3 comments

I'm upgrading my deps through dart pub upgrade:

Resolving dependencies...
Downloading packages...
> image_size_getter 2.2.0 (was 2.1.3)

I've noticed that package:image_size_getter gets upgraded, so I want to check its changelog, I went to https://pub.dev/packages/image_size_getter/changelog.

After that, I wanted to see what packages depended on this one, so I clicked Packages that depend on image_size_getter.

The list only shows 9 packages that do not include package:flutter_gen_core because it's a dev dependency.

However, dart pub deps shows their relationships correctly.

├── flutter_gen 5.8.0
│   ├── flutter_gen_core 5.8.0
│   │   ├── image_size_getter 2.2.0

There should be some link that can head over to all dependencies references like https://pub.dev/packages?q=dependency*%3Aimage_size_getter.

AlexV525 avatar Oct 12 '24 12:10 AlexV525

@AlexV525 I'm not sure I follow exactly what you are looking for here.

Do you mean that you want https://pub.dev/packages?q=dependency%3Aimage_size_getter to show all packages with image_size_getter in its transitive dependencies?

You can do that by searching for dependency*:image_size_getter: https://pub.dev/packages?q=dependency*%3Aimage_size_getter .

This is documented here: https://pub.dev/help/search#query-expressions

@isoos @jonasfj @szakarias should we also have a link for this in the package side-bar?

sigurdm avatar Oct 21 '24 10:10 sigurdm

Do you mean that you want https://pub.dev/packages?q=dependency%3Aimage_size_getter to show all packages with image_size_getter in its transitive dependencies?

Yes this is exactly what I'm looking for, Thanks!

Would like to see it be placed in the sidebar too.

AlexV525 avatar Oct 21 '24 10:10 AlexV525

I retitled the issue.

sigurdm avatar Oct 21 '24 10:10 sigurdm