shsp_implementations 1.2.0 copy "shsp_implementations: ^1.2.0" to clipboard
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.

100/ 160
pub points
29
downloads

We analyzed this package 38 hours ago, and awarded it 100 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Partially passed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 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.dart that imports:
  • package:shsp_implementations/connection/connection.dart that imports:
  • package:shsp_implementations/connection/handshake_time.dart that imports:
  • package:shsp_interfaces/shsp_interfaces.dart that imports:
  • package:shsp_interfaces/src/i_shsp_instance_handler.dart that imports:
  • package:shsp_types/shsp_types.dart that imports:
  • package:shsp_types/src/callback_types.dart that imports:
  • package:shsp_types/src/remote_info.dart that imports:
  • package:shsp_types/src/internet_address_converter.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:shsp_implementations/shsp_implementations.dart that imports:
  • package:shsp_implementations/connection/connection.dart that imports:
  • package:shsp_implementations/connection/handshake_time.dart that imports:
  • package:shsp_interfaces/shsp_interfaces.dart that imports:
  • package:shsp_interfaces/src/i_shsp_instance_handler.dart that imports:
  • package:shsp_types/shsp_types.dart that imports:
  • package:shsp_types/src/callback_types.dart that imports:
  • package:shsp_types/src/remote_info.dart that imports:
  • package:shsp_types/src/internet_address_converter.dart that 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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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.2 1.18.2
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.5.0 1.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 98.0.0 98.0.0
analyzer - 12.0.0 12.0.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
build - 4.0.5 4.0.5
checked_yaml - 2.0.4 2.0.4
collection - 1.19.1 1.19.1
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.8 3.1.8
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
index_generator - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
ntp - 2.0.0 2.0.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
singleton_manager - 0.6.1 0.6.1
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.3.0 2.3.0
watcher - 1.2.1 1.2.1
yaml - 3.1.3 3.1.3

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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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 'List
  • NOT_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.12, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
29
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Complete implementation of Single HandShake Protocol (SHSP) - provides UDP sockets, handshake logic, and utilities for peer-to-peer networking.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

archive, callback_handler, clock_dart, json_annotation, meta, shsp_interfaces, shsp_types, stun

More

Packages that depend on shsp_implementations