datum_hive 0.0.2
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
We analyzed this package 6 days ago, and awarded it 90 pub points (of a possible 160):
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.
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
90 out of 97 API elements (92.8 %) 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.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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
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.2 | 1.0.2 | |
hive_ce_flutter |
^2.3.3 |
2.3.3 | 2.3.3 | |
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 | |
characters |
- | 1.4.0 | 1.4.1 | |
compute |
- | 1.0.2 | 1.0.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
hive_ce |
- | 2.15.1 | 2.15.1 | |
isolate_channel |
- | 0.2.2+1 | 0.2.2+1 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
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 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
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.
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 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.