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

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

2
likes
140/ 160
pub points
186
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/ivoleitao/stash/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

45 out of 47 API elements (95.7 %) have documentation comments.

Some symbols that are missing documentation: stash_sqlite.SqliteBuilder, stash_sqlite.SqliteFileAdapter.file.

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: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/memory.dart that imports:
  • package:sqlite3/src/ffi/generated/shared.dart that imports:
  • dart:ffi

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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: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/memory.dart that imports:
  • package:sqlite3/src/ffi/generated/shared.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/sqlite/sqlite_store.dart:16:64

   ╷
16 │   /// * [codec]: The [StoreCodec] used to convert to/from a Map<String, dynamic>` representation to binary representation
   │                                                                ^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/sqlite/sqlite_store.dart:119:64

    ╷
119 │   /// * [codec]: The [StoreCodec] used to convert to/from a Map<String, dynamic>` representation to binary representation
    │                                                                ^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/sqlite/sqlite_store.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
drift ^2.7.0 2.26.0 2.26.0
stash ^4.5.3 4.5.3 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
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
sqlite3 - 2.7.5 2.7.5
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
web - 1.1.1 1.1.1

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

The constraint `^4.5.3` on stash does not support the stable version `5.0.0`.

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

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.21, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
140
points
186
downloads

Publisher

verified publisherivoleitao.dev

Weekly Downloads

storage extension for the stash API. Provides support to store vaults and 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

drift, stash

More

Packages that depend on stash_sqlite