p2plib 2.3.0
p2plib: ^2.3.0 copied to clipboard
Tooling for encrypted udp datagram peer to peer communication
We analyzed this package 15 days ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("2.3.0").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
113 out of 185 API elements (61.1 %) have documentation comments.
Some symbols that are missing documentation: p2plib, p2plib.AddressProperties.AddressProperties.new, p2plib.AddressProperties.isNotLocal, p2plib.AddressProperties.isNotStatic, p2plib.Crypto.Crypto.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:p2plib/p2plib.dartthat imports:package:p2plib/src/transport/transport.dartthat imports:package:p2plib/src/data/data.dartthat imports:dart:isolate
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The diagnostic 'switch_on_type' isn't produced at this location so it doesn't need to be ignored.
lib/src/crypto/crypto.dart:78:14
╷
78 │ // ignore: switch_on_type //
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/crypto/crypto.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
meta |
^1.17.0 |
1.17.0 | 1.17.0 | |
sodium |
^3.4.6 |
3.4.6 | 3.4.6 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
- | 2.1.4 | 2.1.4 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
json_annotation |
- | 4.9.0 | 4.9.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.3, Dart 3.10.4.
Check the analysis log for details.