restio 0.10.11
restio: ^0.10.11 copied to clipboard
A simple but powerful HTTP Client for Dart inspired by OkHttp.
We analyzed this package 4 hours ago, and awarded it 80 pub points (of a possible 130):
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: Package has an example
0/10 points: 20% or more of the public API has dartdoc comments
- 93 out of 872 API elements (10.7 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
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:restio/restio.dart
that imports:package:restio/src/retrofit/result.dart
that imports:package:restio/src/core/request/header/headers.dart
that imports:package:restio/src/core/request/header/headers_builder.dart
that imports:package:restio/src/core/request/header/header.dart
that imports:dart:io
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 30 issues. Showing the first 2:
INFO: The import of 'package:restio/src/common/closeable.dart' is unnecessary because all of the used elements are also provided by the import of 'package:restio/restio.dart'.
lib/src/core/cache/snapshot.dart:2:8
╷
2 │ import 'package:restio/src/common/closeable.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/cache/snapshot.dart
INFO: The import of 'package:restio/src/core/exceptions.dart' is unnecessary because all of the used elements are also provided by the import of 'package:restio/restio.dart'.
lib/src/core/call/cancellable.dart:4:8
╷
4 │ import 'package:restio/src/core/exceptions.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/call/cancellable.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
brotli | ^0.3.0+1 | 0.3.0+1 | 0.5.0 |
crypto | ^2.1.4 | 2.1.5 | 3.0.2 |
equatable | ^1.2.0 | 1.2.6 | 2.0.3 |
globbing | ^0.3.1 | 0.3.1 | 1.0.0 |
http2 | ^1.0.0 | 1.0.1 | 2.0.0 |
http_parser | ^3.1.4 | 3.1.4 | 4.0.1 |
ip | ^0.1.1 | 0.1.1 | 0.1.1 |
meta | ^1.1.8 | 1.8.0 | 1.8.0 |
mime_type | ^0.3.1 | 0.3.2 | 1.0.0 |
path | ^1.6.4 | 1.8.2 | 1.8.2 |
raw | ^0.2.0 | 0.2.0 | 0.2.0 |
string_scanner | ^1.0.5 | 1.1.1 | 1.1.1 |
utf | ^0.9.0+5 | 0.9.0+5 | 0.9.0+5 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
charcode | - | 1.3.1 | 1.3.1 |
collection | - | 1.16.0 | 1.16.0 |
convert | - | 2.1.1 | 3.0.1 |
fixnum | - | 0.10.11 | 1.0.1 |
matcher | - | 0.12.11 | 0.12.11 |
source_span | - | 1.9.0 | 1.9.0 |
stack_trace | - | 1.10.0 | 1.10.0 |
term_glyph | - | 1.2.0 | 1.2.0 |
typed_data | - | 1.3.1 | 1.3.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^0.3.0+1` on brotli does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions brotli
to update the constraint.
The constraint `^2.1.4` on crypto does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions crypto
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.8.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.12
, Dart 2.17.0
.