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.

0
likes
70/ 160
pub points
0%
popularity

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

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

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 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Linux
  • ✓ macOS
  • ✓ Windows

These platforms are not supported:

Android

Cannot assign Android automatically to a binary only package.

iOS

Cannot assign iOS automatically to a binary only package.

Web

Cannot assign Web automatically to a binary only package.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 8 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: Unused import: 'dart:cli'.

bin/purge_pub_cache.dart:1:8

  ╷
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
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
args ^2.2.0 2.5.0 2.5.0
pub_cache ^0.3.0 0.3.2 0.3.2
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1

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

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

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.22.5, Dart 3.4.1.

Check the analysis log for details.

0
likes
70
pub points
0%
popularity

Publisher

verified publisherikemo.to

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