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 38 hours ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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 97 API elements (86.6 %) have documentation comments.
Some symbols that are missing documentation: dio_cache_interceptor
, dio_cache_interceptor.CacheControl.fromHeader
, dio_cache_interceptor.CacheOptions.copyWith
, dio_cache_interceptor.CacheOptions.defaultCacheKeyBuilder
, dio_cache_interceptor.CacheOptions.fromExtra
.
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/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 |
---|---|---|---|
dio |
^4.0.0 |
4.0.6 | 5.4.3+1 |
hive |
^2.0.3 |
2.2.3 | 2.2.3 |
moor |
^4.1.0 |
4.6.1+1 | 4.6.1+1 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
uuid |
^3.0.1 |
3.0.7 | 4.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
collection |
- | 1.18.0 | 1.18.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
drift |
- | 1.7.1 | 2.18.0 |
ffi |
- | 2.1.2 | 2.1.2 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
meta |
- | 1.15.0 | 1.15.0 |
source_span |
- | 1.10.0 | 1.10.0 |
sqlite3 |
- | 1.11.2 | 2.4.3 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.5
, Dart 3.4.1
.
Check the analysis log for details.