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 3 days ago, and awarded it 40 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.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
ERROR: The argument type '({Null address, Null port, RawDatagramSocket socket})' can't be assigned to the parameter type 'RawDatagramSocket'.
lib/connection/handshake_ip.dart:36:33
╷
36 │ final handler = StunHandler(input);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/connection/handshake_ip.dart
ERROR: The argument type 'String? Function(InternetAddressType)' can't be assigned to the parameter type 'String'.
lib/connection/handshake_ip.dart:42:38
╷
42 │ address: InternetAddress(public.publicIp), port: public.publicPort),
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/connection/handshake_ip.dart
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.3.0 | |
callback_handler |
^0.0.3 |
0.0.4 | 0.0.4 | |
clock_dart |
^1.0.0 |
1.0.0 | 1.0.0 | |
json_annotation |
^4.10.0 |
4.12.0 | 4.12.0 | |
meta |
^1.18.1 |
1.19.0 | 1.19.0 | |
shsp_interfaces |
^1.2.0 |
1.2.0 | 1.2.0 | Discontinued |
shsp_types |
^1.0.7 |
1.1.0 | 1.1.0 | Discontinued |
stun |
^1.0.1 |
1.7.1 | 1.7.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 108.0.0 | 108.0.0 | |
analyzer |
- | 14.4.0 | 14.4.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
build |
- | 4.0.11 | 4.0.11 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
config_manager |
- | 0.4.2 | 0.4.2 | |
console |
- | 4.1.0 | 4.1.0 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.13 | 3.1.13 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
index_generator |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
ntp |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
singleton_manager |
- | 2.2.2 | 2.2.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.4.2 | 2.4.2 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
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.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- shsp_interfaces
- shsp_types.
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.19, Dart 3.13.1.
Check the analysis log for details.