purge_pub_cache 1.0.0 copy "purge_pub_cache: ^1.0.0" to clipboard
purge_pub_cache: ^1.0.0 copied to clipboard

Purge old package versions from pub-cache.

40/ 160
pub points
11
downloads

We analyzed this package 6 days ago, and awarded it 40 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

0 out of 0 API elements (100.0 %) have documentation comments.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

ERROR: The function 'waitFor' isn't defined.

bin/purge_pub_cache.dart:60:3

   ╷
60 │   waitFor(init());
   │   ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/purge_pub_cache.dart

WARNING: The library 'dart:cli' doesn't export a member with the shown name 'waitFor'.

bin/purge_pub_cache.dart:1:24

  ╷
1 │ import 'dart:cli' show waitFor;
  │                        ^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/purge_pub_cache.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.2.0 2.7.0 2.7.0
pub_cache ^0.3.0 0.3.2 0.3.2 Discontinued
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • pub_cache.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_FUNCTION - bin/purge_pub_cache.dart:60:3 - The function 'waitFor' isn't defined.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
40
points
11
downloads

Publisher

verified publisherikemo.to

Weekly Downloads

Purge old package versions from pub-cache.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, pub_cache, yaml

More

Packages that depend on purge_pub_cache