shsp_implementations 1.2.0
shsp_implementations: ^1.2.0 copied to clipboard
Complete implementation of Single HandShake Protocol (SHSP) - provides UDP sockets, handshake logic, and utilities for peer-to-peer networking.
We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/lgualandi/SingleHandShakeProtocolDart was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/lgualandi/SingleHandShakeProtocolDart was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/lgualandi/SingleHandShakeProtocolDart/issues was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
174 out of 337 API elements (51.6 %) have documentation comments.
Some symbols that are missing documentation: address_utility, address_utility.AddressUtility.AddressUtility.new, callback_map, callback_map.CallbackMap.CallbackMap.new, concat_utility.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:shsp_implementations/shsp_implementations.dartthat imports:package:shsp_implementations/connection/connection.dartthat imports:package:shsp_implementations/connection/handshake_time.dartthat imports:package:shsp_interfaces/shsp_interfaces.dartthat imports:package:shsp_interfaces/src/i_shsp_instance_handler.dartthat imports:package:shsp_types/shsp_types.dartthat imports:package:shsp_types/src/callback_types.dartthat imports:package:shsp_types/src/remote_info.dartthat imports:package:shsp_types/src/internet_address_converter.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:shsp_implementations/shsp_implementations.dartthat imports:package:shsp_implementations/connection/connection.dartthat imports:package:shsp_implementations/connection/handshake_time.dartthat imports:package:shsp_interfaces/shsp_interfaces.dartthat imports:package:shsp_interfaces/src/i_shsp_instance_handler.dartthat imports:package:shsp_types/shsp_types.dartthat imports:package:shsp_types/src/callback_types.dartthat imports:package:shsp_types/src/remote_info.dartthat imports:package:shsp_types/src/internet_address_converter.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.6.1 |
3.6.1 | 4.0.9 | |
callback_handler |
^0.0.3 |
0.0.3 | 0.0.3 | |
clock_dart |
^1.0.0 |
1.0.0 | 1.0.0 | |
json_annotation |
^4.10.0 |
4.11.0 | 4.11.0 | |
meta |
^1.18.1 |
1.18.1 | 1.18.1 | |
shsp_interfaces |
^1.2.0 |
1.2.0 | 1.2.0 | |
shsp_types |
^1.0.7 |
1.1.0 | 1.1.0 | |
stun |
^1.0.1 |
1.0.1 | 1.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ntp |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.6.1` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
INVOCATION_OF_NON_FUNCTION-lib/shsp_base/shsp_peer.dart:24:26- 'MessageCallback' isn't a function.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/shsp_base/shsp_peer.dart:134:27- The argument type 'PeerInfo' can't be assigned to the parameter type 'ListNOT_ENOUGH_POSITIONAL_ARGUMENTS-lib/shsp_base/shsp_peer.dart:134:31- 2 positional arguments expected by 'call', but 1 found.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.10, Dart 3.11.0.
Check the analysis log for details.