syncache_drift 0.6.0
syncache_drift: ^0.6.0 copied to clipboard
Drift (SQLite) storage backend for Syncache. Provides durable persistent caching with full support for tag-based invalidation, pattern matching, and a mutation outbox sharing one SQL connection with the cache.
We analyzed this package 5 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
183 out of 243 API elements (75.3 %) have documentation comments.
Some symbols that are missing documentation: syncache_drift.CacheEntries.CacheEntries.new, syncache_drift.CacheEntriesCompanion, syncache_drift.CacheEntriesCompanion.CacheEntriesCompanion.insert, syncache_drift.CacheEntriesCompanion.CacheEntriesCompanion.new, syncache_drift.CacheEntriesCompanion.copyWith.
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:syncache_drift/syncache_drift.dartthat imports:package:syncache_drift/src/drift_store.dartthat imports:package:syncache_drift/src/drift_database.dartthat imports:package:drift/native.dartthat imports:package:drift/src/sqlite3/database_tracker.dartthat imports:package:sqlite3/sqlite3.dartthat imports:package:sqlite3/src/ffi/api.dartthat imports:package:sqlite3/src/ffi/implementation.dartthat imports:package:sqlite3/src/ffi/memory.dartthat imports:package:sqlite3/src/ffi/libsqlite3.g.dartthat imports:dart:ffi
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
drift |
^2.20.0 |
2.35.3 | 2.35.3 | |
syncache |
^0.6.0 |
0.6.0 | 0.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
hooks |
- | 2.2.0 | 2.2.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
native_toolchain_c |
- | 0.19.5 | 0.19.5 | |
path |
- | 1.9.1 | 1.9.1 | |
platform |
- | 3.2.0 | 3.2.0 | |
process |
- | 5.0.6 | 5.0.6 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqlite3 |
- | 3.8.0 | 3.8.0 | |
stack_trace |
- | 1.12.2 | 1.12.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 | |
web |
- | 1.1.2 | 1.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 174 errors:
INVALID_USE_OF_TYPE_OUTSIDE_LIBRARY-lib/src/drift_database.g.dart:1017:13- The class 'Composer' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.IMPLICIT_SUPER_INITIALIZER_MISSING_ARGUMENTS-lib/src/drift_database.g.dart:1018:3- The implicitly invoked unnamed constructor from 'Composer<_$SyncacheDriftDatabase, $CacheEntriesTable>' has required parameters.SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED-lib/src/drift_database.g.dart:1019:20- No associated named super constructor parameter.
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.13.5.
Check the analysis log for details.