dio_cache_interceptor_db_store 5.1.0 copy "dio_cache_interceptor_db_store: ^5.1.0" to clipboard
dio_cache_interceptor_db_store: ^5.1.0 copied to clipboard

A DB cache store implementation with Drift for dio_cache_interceptor package.

12
likes
140/ 160
pub points
90%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

13 out of 15 API elements (86.7 %) have documentation comments.

Some symbols that are missing documentation: dio_cache_interceptor_db_store, dio_cache_interceptor_db_store.DbCacheStore.tableName.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/store/database.g.dart:296:30

    ╷
296 │   int get hashCode => Object.hash(
    │                              ^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/store/database.g.dart

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/store/database.g.dart:299:7

    ╷
299 │       cacheControl,
    │       ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/store/database.g.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
dio_cache_interceptor ^3.3.0 3.5.0 3.5.0
drift ^2.5.0 2.18.0 2.18.0
path ^1.8.0 1.9.0 1.9.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.19.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dio - 5.4.3+1 5.4.3+1
ffi - 2.1.2 2.1.2
fixnum - 1.1.0 1.1.0
http_parser - 4.1.0 4.1.0
js - 0.7.1 0.7.1
meta - 1.15.0 1.15.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqlite3 - 2.4.3 2.4.3
stack_trace - 1.11.1 1.11.1
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
uuid - 4.4.0 4.4.0
web - 0.5.1 0.5.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.22.7, Dart 3.4.3.

Check the analysis log for details.

12
likes
140
pub points
90%
popularity

Publisher

verified publisheropenapi4j.org

A DB cache store implementation with Drift for dio_cache_interceptor package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

dio_cache_interceptor, drift, path

More

Packages that depend on dio_cache_interceptor_db_store