sni_http 0.0.2 copy "sni_http: ^0.0.2" to clipboard
sni_http: ^0.0.2 copied to clipboard

A project for http configuration use Dio Package.

0
likes
110/ 160
pub points
32
downloads

We analyzed this package 4 days ago, and awarded it 110 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 short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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
0 / 20trigger folding of the section

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

OUT: Documenting sni_http... Discovering libraries... Linking elements... Precaching local docs for 1124533 elements... Initialized dartdoc with 1065 libraries Generating docs for library sni_http_library.dart from package:sni_http/sni_http_library.dart... Generating docs for library sni_http.dart from package:sni_http/sni_http.dart... Documented 2 public libraries in 78.3 seconds ERR: warning: sni_http has no library level documentation comments from sni_http: (file:///tmp/pana_SKKOBS/lib/sni_http_library.dart:1:1) warning: unresolved doc reference [BaseDio.requestOptions] from sni_http.HttpService.delete: (file:///tmp/analyzerYIUKEB/pub-cache/hosted/20250619t085100-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/dio_mixin.dart:206:23) in documentation inherited from dio_mixin.DioMixin.delete: (file:///tmp/analyzerYIUKEB/pub-cache/hosted/20250619t085100-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/dio_mixin.dart:206:23) warning: unresolved doc reference [BaseDio.requestOptions] from sni_http.HttpService.deleteUri: (file:///tmp/analyzerYIUKEB/pub-cache/hosted/20250619t085100-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/dio_mixin.dart:224:23) in documentation inherited from dio_mixin.DioMixin.deleteUri: (file:///tmp/analyzerYIUKEB/pub-cache/hosted/20250619t085100-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/dio_mixin.dart:224:23) warning: unresolved doc reference [true] from sni_http.HttpService.download: (file:///tmp/analyzerYIUKEB/pub-cache/hosted/20250619t085100-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/dio_mixin.dart:351:20) [58 more lines]

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:sni_http/sni_http.dart that imports:
  • package:sni_http/sni_http_library.dart that imports:
  • package:dio/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 11 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/src/core/service.dart:1:1

  ╷
1 │ part of sni_http;
  │ ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/service.dart

INFO: The part-of directive uses a library name.

lib/src/dio/api_service.dart:1:1

  ╷
1 │ part of sni_http;
  │ ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dio/api_service.dart

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

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

Package Constraint Compatible Latest Notes
dio ^4.0.6 4.0.6 5.8.0+1
get_it ^7.2.0 7.7.0 8.0.3
model_factory ^1.4.6 1.6.0 4.11.0
retry ^3.1.0 3.1.2 3.1.2
web_socket_channel ^2.2.0 2.4.5 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 0.5.1 1.1.1

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

Found 4 issues. Showing the first 2:

The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions dio to update the constraint.

The constraint `^7.2.0` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it to update the constraint.

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.21, Flutter 3.32.1, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
32
downloads

Publisher

verified publishersniren.my.id

Weekly Downloads

A project for http configuration use Dio Package.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, get_it, model_factory, retry, web_socket_channel

More

Packages that depend on sni_http