dart_ndk 0.1.0-dev8 copy "dart_ndk: ^0.1.0-dev8" to clipboard
dart_ndk: ^0.1.0-dev8 copied to clipboard

PlatformAndroid

Dart Nostr Development Kit

0
likes
110/ 160
pub points
19%
popularity

We analyzed this package 13 hours ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 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.

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.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

54 out of 1831 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, acinq_event_verifier.AcinqSecp256k1EventVerifier.platform, acinq_event_verifier.AcinqSecp256k1EventVerifier.verify.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
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.18.0 1.19.0
convert ^3.1.1 3.1.1 3.1.1
crypto ^3.0.3 3.0.5 3.0.5
flutter flutter 0.0.0 0.0.0
hex ^0.2.0 0.2.0 0.2.0
http ^1.1.0 1.2.2 1.2.2
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.4 2.1.4
plugin_platform_interface ^2.1.7 2.1.8 2.1.8
pointycastle ^3.7.3 3.9.1 3.9.1
web_socket_channel ^2.4.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 74.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.9.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
build - 2.4.1 2.4.1
characters - 1.3.0 1.3.0
dart_style - 2.3.7 2.3.7
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
http_parser - 4.0.2 4.1.0
js - 0.6.7 0.7.1
logging - 1.2.0 1.2.0
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.10 2.2.10
path_provider_foundation - 2.4.0 2.4.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.5 3.1.5
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 1.1.0
xdg_directories - 1.0.4 1.0.4
yaml - 3.1.2 3.1.2

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

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 `^2.4.0` on web_socket_channel does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions web_socket_channel 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.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.