dio_cache_interceptor 2.3.1
dio_cache_interceptor: ^2.3.1 copied to clipboard
Dio HTTP cache interceptor with multiple stores respecting HTTP directives (or not).
We analyzed this package 5 days ago, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: dio_cache_interceptor
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
dio_cache_interceptor/pubspec.yaml
from the repository URL mismatch: expected https://github.com/llfbandit/dio_cache_interceptor
but got https://github.com/llfbandit/dart_http_cache
.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/llfbandit/dio_cache_interceptor/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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
84 out of 104 API elements (80.8 %) have documentation comments.
Some symbols that are missing documentation: dio_cache_interceptor
, dio_cache_interceptor.BackupCacheStore.BackupCacheStore.new
, dio_cache_interceptor.CacheControl.CacheControl.new
, dio_cache_interceptor.CacheControl.fromHeader
, dio_cache_interceptor.CacheOptions.CacheOptions.new
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 42 issues. Showing the first 2:
ERROR: Missing concrete implementation of 'getter ResultSetImplementation.attachedDatabase'.
lib/src/store/db_cache_store/database.g.dart:122:7
╷
122 │ class DioCache extends Table with TableInfo<DioCache, DioCacheData> {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/store/db_cache_store/database.g.dart
ERROR: Undefined class 'GeneratedTextColumn'.
lib/src/store/db_cache_store/database.g.dart:126:14
╷
126 │ late final GeneratedTextColumn cacheKey = _constructCacheKey();
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/store/db_cache_store/database.g.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
^4.0.0 |
4.0.6 | 5.8.0+1 | |
hive |
^2.0.3 |
2.2.3 | 2.2.3 | |
moor |
^4.1.0 |
4.6.1+1 | 4.6.1+1 | Discontinued |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
uuid |
^3.0.1 |
3.0.7 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
drift |
- | 1.7.1 | 2.26.0 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
meta |
- | 1.16.0 | 1.16.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqlite3 |
- | 1.11.2 | 2.7.5 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^3.0.1` on uuid does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions uuid
to update the constraint.
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.22.20
, Dart 3.7.2
.
Check the analysis log for details.