ndk_drift 0.1.1
ndk_drift: ^0.1.1 copied to clipboard
A Drift-based cache manager for the NDK (Nostr Development Kit) library, providing persistent SQLite storage for Nostr protocol data.
We analyzed this package 37 hours ago, and awarded it 40 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting ndk_drift... Discovering libraries... ERR: dartdoc 9.0.4 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/analyzerSLONRI/pub-cache/hosted/20260409t113000-dot-dartlang-pub.appspot.com/[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:209) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:292)
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 68 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:ndk/domain_layer/entities/cashu/cashu_keyset.dart'.
lib/src/drift_cache_manager.dart:5:8
╷
5 │ import 'package:ndk/domain_layer/entities/cashu/cashu_keyset.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/drift_cache_manager.dart
ERROR: Target of URI doesn't exist: 'package:ndk/domain_layer/entities/cashu/cashu_mint_info.dart'.
lib/src/drift_cache_manager.dart:6:8
╷
6 │ import 'package:ndk/domain_layer/entities/cashu/cashu_mint_info.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/drift_cache_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
drift |
^2.31.0 |
2.31.0 | 2.32.1 | |
drift_flutter |
^0.2.8 |
0.2.8 | 0.3.0 | |
ndk |
^0.7.1 |
0.7.1 | 0.8.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
bech32 |
- | 0.2.2 | 0.2.2 | |
bip340 |
- | 0.3.1 | 0.3.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
cryptography |
- | 2.9.0 | 2.9.0 | |
elliptic |
- | 0.3.12 | 0.3.12 | |
equatable |
- | 2.0.8 | 2.0.8 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.2 | 1.0.2 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
native_toolchain_c |
- | 0.17.6 | 0.17.6 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
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 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqlite3 |
- | 2.9.4 | 3.3.0 | |
sqlite3_flutter_libs |
- | 0.5.42 | 0.6.0+eol | |
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 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
web_socket_client |
- | 0.2.1 | 0.2.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xxh3 |
- | 1.2.0 | 1.2.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.2.8` on drift_flutter does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions drift_flutter to update the constraint.
The constraint `^0.7.1` on ndk does not support the stable version `0.8.0`, that was published 9 days ago.
When ndk is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions ndk to update the constraint.
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 49 errors:
URI_DOES_NOT_EXIST-lib/src/drift_cache_manager.dart:5:8- Target of URI doesn't exist: 'package:ndk/domain_layer/entities/cashu/cashu_keyset.dart'.URI_DOES_NOT_EXIST-lib/src/drift_cache_manager.dart:6:8- Target of URI doesn't exist: 'package:ndk/domain_layer/entities/cashu/cashu_mint_info.dart'.URI_DOES_NOT_EXIST-lib/src/drift_cache_manager.dart:7:8- Target of URI doesn't exist: 'package:ndk/domain_layer/entities/cashu/cashu_proof.dart'.
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.6, Dart 3.11.4.
Check the analysis log for details.