minted_network 1.0.1
minted_network: ^1.0.1 copied to clipboard
Well-modelled Dart value types for networking: IP addresses, CIDR blocks, hostnames, DNS names, MAC addresses and ports. Part of the minted family.
We analyzed this package 46 hours ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
172 out of 177 API elements (97.2 %) have documentation comments.
Some symbols that are missing documentation: minted_network.DnsName.value, minted_network.Hostname.value, minted_network.IpAddress.value, minted_network.MacAddress.value, minted_network.Port.value.
10/10 points: Package has 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 3 issues. Showing the first 2:
ERROR: Undefined name 'Uint8'.
lib/src/ip_address.dart:115:59
╷
115 │ final outOfRange = octets.firstWhereOrNull((octet) => Uint8.tryFrom(int.parse(octet)) == null);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ip_address.dart
ERROR: Extension types can't implement 'InvalidType'.
lib/src/port.dart:19:51
╷
19 │ extension type const Port._(int value) implements Uint16 {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/port.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
ipaddr |
^2.1.1 |
2.1.1 | 2.1.1 | |
meta |
^1.19.0 |
1.19.0 | 1.19.0 | |
minted |
^3.0.0 |
3.1.0 | 3.1.0 |
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.