pub_api_client 2.7.0 copy "pub_api_client: ^2.7.0" to clipboard
pub_api_client: ^2.7.0 copied to clipboard

An API Client for Pub to interact with public package information.

51
likes
120/ 140
pub points
85%
popularity

We analyzed this package 5 hours ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

448 out of 1315 API elements (34.1 %) have documentation comments.

Some symbols that are missing documentation: pub_api_client, pub_api_client.BadRequestException, pub_api_client.BadRequestException.BadRequestException, pub_api_client.DartdocReport, pub_api_client.DartdocReport.DartdocReport.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:pub_api_client/pub_api_client.dart that imports:
  • package:pub_api_client/src/pub_api_client_base.dart that imports:
  • package:pub_api_client/src/models/pub_package_model.dart that imports:
  • package:pubspec/pubspec.dart that imports:
  • package:pubspec/src/pubspec.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/models/package_score_model.mapper.dart:137:19

    ╷
137 │       $value.tags != null
    │                   ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/package_score_model.mapper.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
dart_mappable ^4.2.1 4.2.1 4.2.1
http ^1.1.0 1.2.1 1.2.1
oauth2 ^2.0.2 2.0.2 2.0.2
path ^1.8.3 1.9.0 1.9.0
pubspec ^2.3.0 2.3.0 2.3.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
http_parser - 4.0.2 4.0.2
matcher - 0.12.16+1 0.12.16+1
meta - 1.12.0 1.12.0
pub_semver - 2.1.4 2.1.4
quiver - 3.2.1 3.2.1
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.0
type_plus - 2.1.0 2.1.0
typed_data - 1.3.2 1.3.2
uri - 1.0.0 1.0.0
web - 0.5.1 0.5.1
yaml - 3.1.2 3.1.2

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

Analyzed with Pana 0.22.2, Dart 3.3.0.

Check the analysis log for details.

51
likes
120
pub points
85%
popularity

Publisher

verified publisherleoafarias.com

An API Client for Pub to interact with public package information.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dart_mappable, http, oauth2, path, pubspec

More

Packages that depend on pub_api_client