jetleaf_resource 2.0.0
jetleaf_resource: ^2.0.0 copied to clipboard
Resource management module for Jetleaf — handles caching and rate limiting efficiently.
We analyzed this package 2 days ago, and awarded it 150 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-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
732 out of 742 API elements (98.7 %) have documentation comments.
Some symbols that are missing documentation: jetleaf_resource.CacheAnnotationMethodInterceptor.CacheAnnotationMethodInterceptor.new, jetleaf_resource.CacheConfigurer.CacheConfigurer.new, jetleaf_resource.CacheEvent.toStringOptions, jetleaf_resource.ConditionalKeyGenerator.ConditionalKeyGenerator.new, jetleaf_resource.DefaultRateLimitOperationContext.setSkipped.
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:jetleaf_resource/jetleaf_resource.dartthat imports:package:jetleaf_resource/rate_limit.dartthat imports:package:jetleaf_resource/src/rate_limit/rate_limit_result.dartthat imports:package:jetleaf_core/lang.dartthat imports:package:jetleaf_core/src/lang/system/system_detector.dartthat imports:package:jetleaf_core/src/lang/system/system.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The variable name '_DEFAULT_CACHE_NAME' isn't a lowerCamelCase identifier.
lib/src/cache/storage/default_cache_storage.dart:110:23
╷
110 │ static final String _DEFAULT_CACHE_NAME = "default";
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/cache/storage/default_cache_storage.dart
INFO: The variable name 'EMPTY' isn't a lowerCamelCase identifier.
lib/src/key_generator/simple_key.dart:57:26
╷
57 │ static final SimpleKey EMPTY = SimpleKey();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/key_generator/simple_key.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
jetleaf_core |
^2.0.0 |
2.0.1 | 2.0.1 | |
meta |
^1.18.0 |
1.19.0 | 1.19.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
intl |
- | 0.20.3 | 0.20.3 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
yaml |
- | 3.1.4 | 3.1.4 |
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.14.0.
Check the analysis log for details.