znn_sdk_dart 5.0.1-dev.2 znn_sdk_dart: ^5.0.1-dev.2 copied to clipboard
Zenon SDK for Dart and Flutter
We analyzed this package 22 hours ago, and awarded it 90 pub points (of a possible 140):
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.
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
23 out of 687 API elements (3.3 %) 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.
Some symbols that are missing documentation: znn_sdk_dart
, znn_sdk_dart.AccountBlock
, znn_sdk_dart.AccountBlock.basePlasma
, znn_sdk_dart.AccountBlock.changesHash
, znn_sdk_dart.AccountBlock.confirmationDetail
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:znn_sdk_dart/znn_sdk_dart.dart
that imports:package:znn_sdk_dart/src/zenon.dart
that imports:package:znn_sdk_dart/src/client/websocket.dart
that imports:package:znn_sdk_dart/src/client/exceptions.dart
that imports:package:znn_sdk_dart/src/globals.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 25 issues. Showing the first 2:
WARNING: The operand can't be null, so the condition is always 'true'.
lib/src/utils/bytes.dart:106:46
╷
106 │ return base64Encode(bytes.where((x) => x != null).cast<int>().toList());
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/bytes.dart
INFO: An uninitialized field should have an explicit type annotation.
lib/src/abi/abi_types.dart:129:7
╷
129 │ var size;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/abi/abi_types.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
argon2_ffi_base |
^1.0.0+2 |
1.1.1 | 1.1.1 |
args |
^2.1.1 |
2.5.0 | 2.5.0 |
bech32 |
^0.2.0 |
0.2.2 | 0.2.2 |
bip32 |
^2.0.0 |
2.0.0 | 2.0.0 |
bip39 |
^1.0.6 |
1.0.6 | 1.0.6 |
collection |
^1.15.0-nullsafety.4 |
1.18.0 | 1.18.0 |
cryptography |
^2.0.1 |
2.6.1 | 2.7.0 |
ffi |
^1.1.2 |
1.2.1 | 2.1.2 |
hex |
^0.2.0 |
0.2.0 | 0.2.0 |
json_rpc_2 |
^3.0.1 |
3.0.2 | 3.0.2 |
logging |
^1.0.2 |
1.2.0 | 1.2.0 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
pointycastle |
^3.1.3 |
3.8.0 | 3.8.0 |
sha3 |
^0.2.0 |
0.2.0 | 0.2.0 |
stream_channel |
^2.1.0 |
2.1.2 | 2.1.2 |
web_socket_channel |
^2.1.0 |
2.4.5 | 2.4.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
bs58check |
- | 1.0.2 | 1.0.2 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
js |
- | 0.6.7 | 0.7.1 |
meta |
- | 1.14.0 | 1.14.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
web |
- | 0.5.1 | 0.5.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.