stun_shsp 0.5.1 copy "stun_shsp: ^0.5.1" to clipboard
stun_shsp: ^0.5.1 copied to clipboard

Combines STUN (RFC 5389) and SHSP protocols into a unified handler for NAT traversal and peer-to-peer UDP communication. Supports dual IPv4/IPv6 stacks, runtime socket migration, optional compression, [...]

145/ 160
pub points
161
downloads

We analyzed this package 4 days ago, and awarded it 145 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.5.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: LGPL-3.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

833 out of 1427 API elements (58.4 %) have documentation comments.

Some symbols that are missing documentation: stun_shsp, stun_shsp.AddressUtility.AddressUtility.new, stun_shsp.AddressUtilityFactory, stun_shsp.AddressUtilityFactory.AddressUtilityFactory.new, stun_shsp.AddressUtilityFactory.create.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:stun_shsp/stun_shsp.dart that imports:
  • package:stun_shsp/src/nat/nat_detector_shsp.dart that imports:
  • package:stun_shsp/src/config/stun_shsp_config.dart that imports:
  • package:stun/stun.dart that imports:
  • package:stun/src/types/stun_types.dart that imports:
  • dart:io
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

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

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
config_manager ^0.4.2 0.4.2 0.4.2
shsp ^1.11.1 1.11.1 1.11.1
singleton_manager ^2.2.2 2.2.2 2.2.2
stun ^1.7.1 1.7.1 1.7.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 105.0.0 105.0.0
analyzer - 14.1.0 14.1.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
build - 4.0.10 4.0.10
callback_handler - 0.0.4 0.0.4
checked_yaml - 2.0.4 2.0.4
clock_dart - 1.0.0 1.0.0
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.12 3.1.12
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
index_generator - 4.1.2 4.1.2
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
meta - 1.19.0 1.19.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.0 2.2.0
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.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
145
points
161
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Combines STUN (RFC 5389) and SHSP protocols into a unified handler for NAT traversal and peer-to-peer UDP communication. Supports dual IPv4/IPv6 stacks, runtime socket migration, optional compression, and dependency injection.

Repository (GitHub)
View/report issues

Topics

#stun #nat #udp #networking #peer-to-peer

License

LGPL-3.0 (license)

Dependencies

config_manager, shsp, singleton_manager, stun

More

Packages that depend on stun_shsp