datum_hive 0.0.2 copy "datum_hive: ^0.0.2" to clipboard
datum_hive: ^0.0.2 copied to clipboard

A Hive-based persistence layer for the Datum ecosystem, enabling efficient local data storage and synchronization for Flutter applications

70/ 160
pub points
34
downloads

We analyzed this package 4 days ago, and awarded it 70 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

96 out of 103 API elements (93.2 %) have documentation comments.

Some symbols that are missing documentation: datum_hive, datum_hive.HiveLocalAdapter, datum_hive.HiveLocalAdapter.HiveLocalAdapter.new, datum_hive.HiveLocalAdapter.schemaVersion, datum_hive.HiveLocalAdapter.watchStorageSize.

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

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

lib/src/hive_local_adapter.dart:108:13

    ╷
108 │       throw EntityNotFoundException('Entity with id $id not found for patch.');
    │             ^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: Too many positional arguments: 0 expected, but 1 found.

lib/src/hive_local_adapter.dart:108:37

    ╷
108 │       throw EntityNotFoundException('Entity with id $id not found for patch.');
    │                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.19.1 1.19.1 1.19.1
datum any 1.0.4 1.0.4
hive_ce_flutter ^2.3.3 2.3.4 2.3.4
meta ^1.16.0 1.17.0 1.18.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
async_queue - 2.0.2 2.0.2
characters - 1.4.1 1.4.1
code_assets - 1.0.0 1.0.0
compute - 1.0.2 1.0.2
crypto - 3.0.7 3.0.7
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
hive_ce - 2.19.3 2.19.3
hooks - 1.0.2 1.0.2
isolate_channel - 0.6.1 0.6.1
json_annotation - 4.11.0 4.11.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
native_toolchain_c - 0.17.6 0.17.6
objective_c - 9.3.0 9.3.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.23 2.2.23
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
rxdart - 0.28.0 0.28.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

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 6 errors:

  • UNDEFINED_CLASS - lib/src/hive_local_adapter.dart:8:34 - Undefined class 'DatumEntityBase'.
  • INVALID_ASSIGNMENT - lib/src/hive_local_adapter.dart:93:23 - A value of type 'T?' can't be assigned to a variable of type 'T'.
  • UNDEFINED_ENUM_CONSTANT - lib/src/hive_local_adapter.dart:264:97 - There's no constant named 'healthy' in 'AdapterHealthStatus'.

Run flutter pub downgrade and then flutter 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.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
70
points
34
downloads

Documentation

Documentation
API reference

Publisher

verified publishershreeman.dev

Weekly Downloads

A Hive-based persistence layer for the Datum ecosystem, enabling efficient local data storage and synchronization for Flutter applications

Homepage
Repository (GitHub)
View/report issues

Topics

#offline-first #synchronization #database #flutter #supabase

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

collection, datum, flutter, hive_ce_flutter, meta

More

Packages that depend on datum_hive