lib5 0.2.0
lib5: ^0.2.0 copied to clipboard
Base library for S5.
We analyzed this package 2 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 lib5... Discovering libraries... Linking elements... Precaching local docs for 637894 elements... Initialized dartdoc with 463 libraries Generating docs for library lib5.dart from package:lib5/lib5.dart... Generating docs for library util.dart from package:lib5/util.dart... Generating docs for library node.dart from package:lib5/node.dart... Generating docs for library storage_service.dart from package:lib5/storage_service.dart... Generating docs for library identity.dart from package:lib5/identity.dart... [4 more lines] ERR: warning: ambiguous reexport of entry.SignedRegistryEntry, canonicalization candidates: (lib5, lib5) -> lib5 (confidence 0.000) from entry.SignedRegistryEntry: (file:///tmp/pana_PQXYPL/lib/src/registry/entry.dart:10:7) lib5: 1.178 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) lib5: 1.178 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor entry.SignedRegistryEntry} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [95 more lines]
10/10 points: Package has 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
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
WARNING: The value of the local variable 'isConnected' isn't used.
lib/src/node/service/p2p.dart:292:21
╷
292 │ final isConnected = u.unpackBool()!;
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/node/service/p2p.dart
INFO: Dangling library doc comment.
lib/src/seed/seed.dart:1:1
╷
1 │ /// MIT License
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/seed/seed.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
base_codecs |
^1.0.1 |
1.0.1 | 1.0.1 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
http |
^1.0.0 |
1.4.0 | 1.4.0 | |
http_parser |
^4.0.2 |
4.1.2 | 4.1.2 | |
mime |
^1.0.4 |
1.0.6 | 2.0.0 | |
s5_msgpack |
^0.3.0 |
0.3.0 | 0.3.0 | |
tint |
^2.0.1 |
2.0.1 | 2.0.1 | |
web_socket_channel |
^2.4.0 |
2.4.5 | 3.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
meta |
- | 1.17.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 | |
web |
- | 0.5.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.4` on mime does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions mime
to update the constraint.
The constraint `^2.4.0` on web_socket_channel does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web_socket_channel
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
, Dart 3.8.1
.
Check the analysis log for details.