You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
has summary.allDependencies that includes protoc-plugin.
Context: I noticed this because I have APIs that sanitizes output from pana, and protoc-plugin is not a valid package name, so it complained.
IMO, summary.allDependencies should be all packages that when updated may affect the analysis of this package.
Or we should introduce another property on summary that is dependencies as a list of package names that when updated should trigger reanalysis.
The text was updated successfully, but these errors were encountered:
jonasfj
added
the
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
label
Dec 1, 2022
Based on the current uses of Summary.allDependencies, I think we may leave out the dev dependencies out of it.
However, while checking the uses of it, I've found that we also add the dev dependencies to the search index without verification: _buildDependencies in https://github.com/dart-lang/pub-dev/blob/master/app/lib/search/backend.dart#L169. We should either provide the fully verified dependencies map through pana, or not add those values to the search index.
https://pub.dev/packages/googleclouddatastore/pubspec
has
summary.allDependencies
that includesprotoc-plugin
.Context: I noticed this because I have APIs that sanitizes output from pana, and
protoc-plugin
is not a valid package name, so it complained.IMO,
summary.allDependencies
should be all packages that when updated may affect the analysis of this package.Or we should introduce another property on summary that is
dependencies
as a list of package names that when updated should trigger reanalysis.The text was updated successfully, but these errors were encountered: