dependencies library

Classes

DependencyAudit
What the package's own directives say about its pubspec.yaml.

Constants

usedWithoutImport → const Set<String>
Packages a project declares and, by design, never imports.

Functions

auditDependencies(Map<Object?, Object?> pubspec, {required Map<String, List<String>> directivesByFile, Iterable<String> ignored = const [], Iterable<String> otherPackages = const []}) → DependencyAudit
Checks the dependencies: and dev_dependencies: of pubspec against the URIs in directivesByFile — project-relative path to every URI the file's import, export and part directives name.