davianspace_http_resilience 1.0.4
davianspace_http_resilience: ^1.0.4 copied to clipboard
Production-grade HTTP resilience for Dart & Flutter. Retry, circuit breaker, timeout, bulkhead, hedging, fallback, structured observability, and header-redacted logging.
We analyzed this package 13 hours ago, and awarded it 150 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/davianspace/davianspace_http_resilience 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/davianspace/davianspace_http_resilience 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/davianspace/davianspace_http_resilience/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
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
679 out of 711 API elements (95.5 %) have documentation comments.
Some symbols that are missing documentation: davianspace_http_resilience.AddedJitterBackoff.AddedJitterBackoff.new, davianspace_http_resilience.BulkheadHandler.BulkheadHandler.new, davianspace_http_resilience.BulkheadPolicy.BulkheadPolicy.new, davianspace_http_resilience.BulkheadSemaphore.BulkheadSemaphore.new, davianspace_http_resilience.CancellationException.CancellationException.new.
10/10 points: Package has an example
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:davianspace_http_resilience/davianspace_http_resilience.dartthat imports:package:davianspace_http_resilience/src/handlers/handlers.dartthat imports:package:davianspace_http_resilience/src/handlers/logging_handler.dartthat imports:package:davianspace_logging/davianspace_logging.dartthat imports:package:davianspace_logging/src/providers/console_logger.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Parameters ''cause' and 'stackTrace'' could be super parameters.
lib/src/exceptions/hedging_exception.dart:28:9
╷
28 │ const HedgingException({
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/exceptions/hedging_exception.dart
INFO: Parameters ''cause' and 'stackTrace'' could be super parameters.
lib/src/exceptions/http_timeout_exception.dart:8:3
╷
8 │ HttpTimeoutException({
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/exceptions/http_timeout_exception.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
davianspace_dependencyinjection |
^1.0.3 |
1.0.3 | 1.0.3 | |
davianspace_logging |
^1.0.3 |
1.0.4 | 1.0.4 | |
http |
^1.2.1 |
1.6.0 | 1.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
davianspace_configuration |
- | 1.0.3 | 1.0.3 | |
davianspace_options |
- | 1.0.3 | 1.0.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.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 | |
web |
- | 1.1.1 | 1.1.1 |
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.19, Dart 3.13.1.
Check the analysis log for details.