sni_http 0.0.1
sni_http: ^0.0.1 copied to clipboard
A project for http configuration use Dio Package.
We analyzed this package 5 days ago, and awarded it 110 pub points (of a possible 160):
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.
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.
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 1134923 elements... Initialized dartdoc with 1083 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 98.0 seconds ERR: warning: sni_http has no library level documentation comments from sni_http: (file:///tmp/pana_PJOIAN/lib/sni_http_library.dart:1:1) warning: unresolved doc reference [BaseDio.requestOptions] from sni_http.HttpService.delete: (file:///tmp/analyzerIURWDT/pub-cache/hosted/20260115t114900-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/analyzerIURWDT/pub-cache/hosted/20260115t114900-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/analyzerIURWDT/pub-cache/hosted/20260115t114900-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/analyzerIURWDT/pub-cache/hosted/20260115t114900-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/analyzerIURWDT/pub-cache/hosted/20260115t114900-dot-dartlang-pub.appspot.com/dio-4.0.6/lib/src/dio_mixin.dart:351:20) [58 more lines]
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:sni_http/sni_http.dartthat imports:package:sni_http/sni_http_library.dartthat imports:package:dio/src/adapters/io_adapter.dartthat 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 13 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
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.9.0 | |
get_it |
^7.2.0 |
7.7.0 | 9.2.0 | |
model_factory |
^1.4.6 |
1.6.0 | 4.14.3 | |
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.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.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.2.0 | 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.
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.23.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.