pub_mirror 1.0.7
pub_mirror: ^1.0.7

Dart native

A multi-thread tool to download content from Pub. Then the result can be served by a http server and taken as the backend of pub, flutter or even Pub Mirror itself.

0
likes
75 / 110
pub points
25 %
popularity

We analyzed this package on Dec 1, 2020, and awarded it 75 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:4:49

  ╷
4 │ <p>A multi-thread tool to download content from <a href="http://pub.dartlang.org">Pub</a>.
  │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/pub_mirror.dart

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

  • 9 out of 40 API elements (22.5 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:pub_mirror/pub_mirror.dart that imports:
  • package:pub_mirror/json.dart that imports:
  • dart:mirrors
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

lib/http.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
args^1.5.11.6.01.6.0
executor^2.1.22.2.12.2.1
http^0.11.3+170.11.3+170.12.2
logging^0.11.3+20.11.40.11.4
path^1.6.21.7.01.7.0
pedantic^1.4.01.9.21.9.2
pub_client^3.0.33.0.33.0.3
quiver^2.1.2+12.1.52.1.5
quiver_log^1.0.61.0.61.0.6
retry^3.0.0+13.0.13.0.1
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.4.22.4.2
charcode-1.1.31.1.3
collection-1.14.131.14.13
http_parser-3.1.43.1.4
intl-0.16.10.16.1
json_annotation-2.4.03.1.1
matcher-0.12.90.12.9
meta-1.2.41.2.4
source_span-1.7.01.7.0
stack_trace-1.9.61.9.6
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0

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

The constraint `^0.11.3+17` on http does not support the latest published version `0.12.2`

pubspec.yaml:15:9

   ╷
15 │   http: ^0.11.3+17
   │         ^^^^^^^^^^
   ╵

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

0
likes
75
pub points
25%
popularity

A multi-thread tool to download content from Pub. Then the result can be served by a http server and taken as the backend of pub, flutter or even Pub Mirror itself.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

i@huiyiqun.me

License

BSD (LICENSE)

Dependencies

args, executor, http, logging, path, pedantic, pub_client, quiver, quiver_log, retry

More

Packages that depend on pub_mirror