sni_http 0.0.2
sni_http: ^0.0.2 copied to clipboard
A project for http configuration use Dio Package.
We analyzed this package 7 hours 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 1124533 elements...
Initialized dartdoc with 1065 libraries
Generating docs for library sni_http.dart from package:sni_http/sni_http.dart...
Generating docs for library sni_http_library.dart from package:sni_http/sni_http_library.dart...
Documented 2 public libraries in 67.6 seconds
ERR:
warning: sni_http has no library level documentation comments
from sni_http: (file:///tmp/pana_YNUMGX/lib/sni_http_library.dart:1:1)
error: file already written at "sni_http/index.html"
for symbol sni_http: (file:///tmp/pana_YNUMGX/lib/sni_http_library.dart:1:1)
conflicting with file already generated by sni_http: (file:///tmp/pana_YNUMGX/lib/sni_http.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'sni_http' conflicts with another symbol in the generated path, and
therefore can not be written out. Changing the name, library name, or
class name (if appropriate) of one of the conflicting items can resolve
the conflict. Alternatively, use the @nodoc
directive in one symbol's
[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.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.
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
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.1 | |
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.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.