Skip to main content

dio_cache_interceptor 2.3.1 copy "dio_cache_interceptor: ^2.3.1" to clipboard
dio_cache_interceptor: ^2.3.1 copied to clipboard

outdated

Dio HTTP cache interceptor with multiple stores respecting HTTP directives (or not).

50/ 160
pub points
247k
downloads

We analyzed this package 37 hours ago, and awarded it 50 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

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.

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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 55 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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.11.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.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.8 3.0.8
drift - 1.7.1 2.35.4
ffi - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
meta - 1.19.0 1.19.0
source_span - 1.10.2 1.10.2
sqlite3 - 1.11.2 3.9.2
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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 36 errors:

  • UNDEFINED_CLASS - lib/src/store/db_cache_store/database.g.dart:126:14 - Undefined class 'GeneratedTextColumn'.
  • UNDEFINED_CLASS - lib/src/store/db_cache_store/database.g.dart:127:3 - Undefined class 'GeneratedTextColumn'.
  • UNDEFINED_METHOD - lib/src/store/db_cache_store/database.g.dart:128:12 - The method 'GeneratedTextColumn' isn't defined for the type 'DioCache'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
443
likes
50
points
247k
downloads

Documentation

API reference

Publisher

verified publishercow-level.ovh

Weekly Downloads

Dio HTTP cache interceptor with multiple stores respecting HTTP directives (or not).

License

Apache-2.0 (license)

Dependencies

dio, hive, moor, path, uuid

More

Packages that depend on dio_cache_interceptor