stun 1.7.1
stun: ^1.7.1 copied to clipboard
Complete STUN (RFC 5389/5780) implementation for NAT traversal, public IP discovery, and NAT type detection. Supports IPv4/IPv6 dual-stack, P2P applications, and WebRTC.
We analyzed this package 6 days ago, and awarded it 125 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 ("1.7.1").
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: LGPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
138 out of 340 API elements (40.6 %) have documentation comments.
Some symbols that are missing documentation: stun, stun.DualStunHandler.DualStunHandler.dependencyInjectionFactory, stun.DualStunHandler.DualStunHandler.new, stun.DualStunHandler.clearHandler, stun.DualStunHandler.clearIpv4Handler.
10/10 points: Package has 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:stun/stun.dartthat imports:package:stun/src/types/stun_types.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:stun/stun.dartthat imports:package:stun/src/types/stun_types.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
WARNING: The member 'DestroyableHandlerMixin' can't be exported as a part of a package's public API.
lib/stun.dart:33:1
╷
33 │ export 'src/mixins/destroyable_handler_mixin.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/stun.dart
WARNING: The member 'DualHandlerDelegationMixin' can't be exported as a part of a package's public API.
lib/stun.dart:34:1
╷
34 │ export 'src/mixins/dual/dual_handler_delegation_mixin.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/stun.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
callback_handler |
^0.0.4 |
0.0.4 | 0.0.4 | |
config_manager |
^0.4.2 |
0.4.2 | 0.4.2 | |
meta |
^1.9.0 |
1.19.0 | 1.19.0 | |
singleton_manager |
^2.2.2 |
2.2.2 | 2.2.2 |
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 | |
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.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 | |
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.
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.18, Dart 3.13.1.
Check the analysis log for details.