dart_depcheck 2.0.3
dart_depcheck: ^2.0.3 copied to clipboard
A custom depcheck command for Flutter/Dart projects to check for unused dependencies.
Changelog #
2.0.3 - 2026-06-17 #
2.0.2 - 2026-06-17 #
2.0.1 - 2026-06-17 #
2.0.0 - 2026-06-17 #
Added #
- Detect missing dependencies (packages imported in the source but not declared in
pubspec.yaml). DependencyChecker.analyzereturning aDepcheckResult(unusedDependencies,unusedDevDependencies,missingDependencies,isClean,toJson).--fail-on-issuesflag to exit with a non-zero code when issues are found (useful in CI).
Changed #
- Bump
lintsto^6.0.0andtestto^1.31.0.
Fixed #
- Additional folders (
-f/--folders) are now resolved relative to the project path (-p) instead of the current working directory.
Removed #
- Unused
pubspec_parsedependency.
1.0.0 - 2025-04-15 #
0.0.1-dev.6 - 2023-06-17 #
Changed #
- Convert all lists to sets to avoid duplicates.
- Improve test coverage.