abliteration 0.1.8
abliteration: ^0.1.8 copied to clipboard
Dart client for the abliteration.org catalog API. Auto-generated from the OpenAPI spec; covers every route on /api/v1.
We analyzed this package 28 hours ago, and awarded it 105 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.1.8").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
666 out of 1113 API elements (59.8 %) have documentation comments.
Some symbols that are missing documentation: openapi.api, openapi.api.ApiClient, openapi.api.ApiClient.ApiClient.new, openapi.api.ApiClient.addDefaultHeader, openapi.api.ApiClient.authentication.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:abliteration/api.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 61 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/api_client.dart:78:9
╷
78 │ return Response.fromStream(response);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/api_client.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/api_client.dart:88:9
╷
88 │ return Response.fromStream(response);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/api_client.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
>=1.17.0 <2.0.0 |
1.19.1 | 1.19.1 | |
http |
>=0.13.0 <2.0.0 |
1.6.0 | 1.6.0 | |
intl |
>=0.17.0 <1.0.0 |
0.20.3 | 0.20.3 | |
meta |
>=1.1.8 <2.0.0 |
1.19.0 | 1.19.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.2 | 1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_METHOD-lib/api_client.dart:67:25- The method 'AbortableStreamedRequest' isn't defined for the type 'ApiClient'.UNDEFINED_METHOD-lib/api_client.dart:82:25- The method 'AbortableMultipartRequest' isn't defined for the type 'ApiClient'.UNDEFINED_METHOD-lib/api_client.dart:96:23- The method 'AbortableRequest' isn't defined for the type 'ApiClient'.
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.19, Dart 3.13.5.
Check the analysis log for details.