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

90/ 160
pub points
16
downloads

We analyzed this package 12 hours ago, and awarded it 90 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

Funding URL doesn't exist.

At the time of the analysis https://buymeacoffee.com/shreemanarjun 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

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

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:datum_hive/datum_hive.dart that imports:
  • package:datum_hive/src/hive_local_adapter.dart that imports:
  • package:datum/datum.dart that imports:
  • package:datum/source/core/sync/datum_sync_execution_strategy.dart that imports:
  • dart:isolate
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.3 1.0.3
hive_ce_flutter ^2.3.3 2.3.4 2.3.4
meta ^1.16.0 1.17.0 1.17.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
async_queue - 2.0.2 2.0.2
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
compute - 1.0.2 1.0.2
crypto - 3.0.7 3.0.7
equatable - 2.0.8 2.0.8
fake_async - 1.3.3 1.3.3
ffi - 2.1.5 2.1.5
fixnum - 1.1.1 1.1.1
hive_ce - 2.16.0 2.16.0
isolate_channel - 0.2.2+1 0.2.2+1
json_annotation - 4.9.0 4.9.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.17 0.12.18
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
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
rxdart - 0.28.0 0.28.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.9
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
16
downloads

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

Documentation

Documentation
API reference

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