diox 5.0.0 copy "diox: ^5.0.0" to clipboard
diox: ^5.0.0 copied to clipboard

discontinuedreplaced by: dio

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.

77
likes
130/ 160
pub points
364
downloads

We analyzed this package 6 days ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

225 out of 330 API elements (68.2 %) have documentation comments.

Some symbols that are missing documentation: browser, browser.BrowserHttpClientAdapter.BrowserHttpClientAdapter.new, browser.DioForBrowser, diox.BackgroundTransformer.BackgroundTransformer.new, diox.BaseOptions.BaseOptions.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 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: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/src/adapters/browser_adapter.dart:3:1

  ╷
3 │ import 'dart:html';
  │ ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/adapters/browser_adapter.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
http_parser ^4.0.0 4.1.2 4.1.2
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
77
likes
130
points
364
downloads

Publisher

verified publisherflutter.cn

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http_parser, path

More

Packages that depend on diox