pub_api_client 2.7.0 pub_api_client: ^2.7.0 copied to clipboard
An API Client for Pub to interact with public package information.
We analyzed this package 9 hours ago, and awarded it 120 pub points (of a possible 140):
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
.
10/10 points: 20% or more of the public API has dartdoc comments
448 out of 1411 API elements (31.8 %) 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
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
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 23 issues. Showing the first 2:
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
INFO: 'isValueEqual' is deprecated and shouldn't be used. Upgrade to dart_mappable_builder >= 4.2.2.
lib/src/models/latest_version_model.mapper.dart:85:18
╷
85 │ .isValueEqual(this as LatestVersion, other));
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/latest_version_model.mapper.dart
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.2 | 4.2.2 |
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.15.0 | 1.15.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.1 | 0.7.1 |
type_plus |
- | 2.1.1 | 2.1.1 |
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.3
, Dart 3.4.0
.
Check the analysis log for details.