stash_sqlite 3.2.1 copy "stash_sqlite: ^3.2.1" to clipboard
stash_sqlite: ^3.2.1 copied to clipboard

outdated

storage extension for the stash caching API. Provides support to store caches in a sqlite database in binary format using the msgpack json format

2
likes
100/ 160
pub points
151
downloads

We analyzed this package 6 days ago, and awarded it 100 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

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

43 out of 46 API elements (93.5 %) have documentation comments.

Some symbols that are missing documentation: stash_sqlite.CacheStoreAdapter.CacheStoreAdapter.new, stash_sqlite.SqliteAdapter.store, stash_sqlite.SqliteStoreExtension.cache.

Passed check 10/10 points: Package has an example

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

Passed check 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:stash_sqlite/stash_sqlite.dart that imports:
  • package:stash_sqlite/src/sqlite/sqlite_store.dart that imports:
  • package:stash_sqlite/src/sqlite/sqlite_adapter.dart that imports:
  • package:moor/ffi.dart that imports:
  • package:drift/native.dart that imports:
  • package:drift/src/sqlite3/database_tracker.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/sqlite3.g.dart that imports:
  • dart:ffi

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

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 24 issues. Showing the first 2:

ERROR: Missing concrete implementation of 'getter ResultSetImplementation.attachedDatabase'.

lib/src/sqlite/cache_database.g.dart:358:7

    ╷
358 │ class $CacheTableTable extends CacheTable
    │       ^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The named parameter 'type' is required, but there's no corresponding argument.

lib/src/sqlite/cache_database.g.dart:364:46

    ╷
364 │   late final GeneratedColumn<String?> name = GeneratedColumn<String?>(
    │                                              ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
moor ^4.5.0 4.6.1+1 4.6.1+1 Discontinued
stash ^3.2.2 3.2.2 5.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
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
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
js - 0.6.7 0.7.2 Discontinued
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
sqlite3 - 1.11.2 2.7.5
stream_channel - 2.1.4 2.1.4
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.2.2` on stash does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions stash to update the constraint.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • moor.

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

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

Weekly downloads

Display as:
By versions:
2
likes
100
points
151
downloads

Publisher

verified publisherivoleitao.dev

Weekly Downloads

storage extension for the stash caching API. Provides support to store caches in a sqlite database in binary format using the msgpack json format

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

moor, stash

More

Packages that depend on stash_sqlite