diox 5.0.0 diox: ^5.0.0 copied to clipboard
A powerful HTTP package for Dart/Flutter, which supports Global settings, Interceptors, FormData, Aborting and canceling a request, Files uploading and downloading, Requests timeout, Custom adapters, etc.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/cfug/diox/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
225 out of 308 API elements (73.1 %) have documentation comments.
Some symbols that are missing documentation: browser
, browser.DioForBrowser
, diox.CancelToken.requestOptions
, diox.DefaultTransformer
, diox.Dio.fetch
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:diox/diox.dart
that imports:package:diox/src/transformers/sync_transformer.dart
that imports:package:diox/src/transformer.dart
that imports:package:diox/src/utils.dart
that imports:package:diox/src/options.dart
that imports:package:diox/src/adapter.dart
that imports:package:diox/src/adapters/io_adapter.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'DefaultHttpClientAdapter' is deprecated and shouldn't be used. Use IOHttpClientAdapter instead. This will be removed in 6.0.0.
lib/io.dart:2:10
╷
2 │ show DefaultHttpClientAdapter, IOHttpClientAdapter;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/io.dart
INFO: Dangling library doc comment.
lib/src/compute/compute.dart:5:1
╷
5 │ /// This file corresponds to Flutter's
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/compute/compute.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
http_parser |
^4.0.0 |
4.1.1 | 4.1.1 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.