dart_ndk 0.1.0-dev8
dart_ndk: ^0.1.0-dev8 copied to clipboard
Dart Nostr Development Kit
We analyzed this package 14 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: dart_ndk
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: dart_ndk
.
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
54 out of 1833 API elements (2.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: acinq_event_verifier
, acinq_event_verifier.AcinqSecp256k1EventVerifier
, acinq_event_verifier.AcinqSecp256k1EventVerifier.AcinqSecp256k1EventVerifier.new
, acinq_event_verifier.AcinqSecp256k1EventVerifier.platform
, acinq_event_verifier.AcinqSecp256k1EventVerifier.verify
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:dart_ndk/dart_ndk.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:dart_ndk/dart_ndk.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:dart_ndk/dart_ndk.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:dart_ndk/dart_ndk.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:dart_ndk/dart_ndk.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dart_ndk/dart_ndk.dart
that imports:package:dart_ndk/relay_manager.dart
that imports:package:dart_ndk/nips/nip01/acinq_event_verifier.dart
that imports:dart:io
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 51 issues. Showing the first 2:
WARNING: The annotation 'embedded' can only be used on classes.
lib/db/db_event.dart:46:4
╷
46 │ @embedded
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/db/db_event.dart
WARNING: The annotation 'embedded' can only be used on classes.
lib/db/db_event.dart:50:4
╷
50 │ @embedded
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/db/db_event.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
amberflutter |
^0.0.9 |
0.0.9 | 0.0.9 | |
bech32 |
^0.2.2 |
0.2.2 | 0.2.2 | |
bip340 |
^0.2.0 |
0.2.0 | 0.3.0 | |
collection |
^1.17.2 |
1.19.1 | 1.19.1 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.3 |
3.0.6 | 3.0.6 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
http |
^1.1.0 |
1.3.0 | 1.3.0 | |
isar |
^4.0.0-dev.14 |
4.0.0-dev.14 | 4.0.0-dev.14 | |
isar_flutter_libs |
^4.0.0-dev.14 |
4.0.0-dev.14 | 4.0.0-dev.14 | |
path_provider |
^2.1.1 |
2.1.5 | 2.1.5 | |
plugin_platform_interface |
^2.1.7 |
2.1.8 | 2.1.8 | |
pointycastle |
^3.7.3 |
3.9.1 | 4.0.0 | |
web_socket_channel |
^2.4.0 |
2.4.5 | 3.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 76.0.0 | 82.0.0 | |
analyzer |
- | 6.11.0 | 7.4.2 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build |
- | 2.4.2 | 2.4.2 | |
characters |
- | 1.4.0 | 1.4.0 | |
dart_style |
- | 2.3.8 | 3.0.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
macros |
- | 0.1.3-main.0 | 0.1.3-main.0 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_gen |
- | 1.5.0 | 2.0.0 | |
source_span |
- | 1.10.1 | 1.10.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.1.4 | 2.1.5 | |
watcher |
- | 1.1.1 | 1.1.1 | |
web |
- | 0.5.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
.
Found 3 issues. Showing the first 2:
The constraint `^0.2.0` on bip340 does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions bip340
to update the constraint.
The constraint `^3.7.3` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.