bc_ur_dart 0.1.21
bc_ur_dart: ^0.1.21 copied to clipboard
A dart plugin for Uniform Resources(URs) decode/encode. URs are URI-encoded CBOR structures developed by Blockchain Commons.
We analyzed this package 18 hours ago, and awarded it 140 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.
10/10 points: 20% or more of the public API has dartdoc comments
125 out of 435 API elements (28.7 %) have documentation comments.
Some symbols that are missing documentation: bc_ur_dart, bc_ur_dart.BTC_SIGNATURE, bc_ur_dart.BTC_SIGN_REQUEST, bc_ur_dart.CRYPTO_HD_KEY, bc_ur_dart.CRYPTO_MULTI_ACCOUNTS.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:bc_ur_dart/bc_ur_dart.dartthat imports:package:bc_ur_dart/src/models/key/crypto_multi_accounts.dartthat imports:package:crypto_wallet_util/crypto_utils.dartthat imports:package:crypto_wallet_util/transaction.dartthat imports:package:crypto_wallet_util/src/transaction/icp/tx_signer.dartthat imports:package:crypto_wallet_util/src/wallets/icp.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:bc_ur_dart/bc_ur_dart.dartthat imports:package:bc_ur_dart/src/models/key/crypto_multi_accounts.dartthat imports:package:crypto_wallet_util/crypto_utils.dartthat imports:package:crypto_wallet_util/transaction.dartthat imports:package:crypto_wallet_util/src/transaction/icp/tx_signer.dartthat imports:package:crypto_wallet_util/src/wallets/icp.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/utils/crc32.dart:6:26
╷
6 │ static int compute(var input, [int crc = 0]) {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/crc32.dart
/tmp/pana_GNZCUM/lib/bc_ur_dart.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cbor |
^6.3.7 |
6.3.7 | 6.3.7 | |
convert |
^3.1.2 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
crypto_wallet_util |
^1.2.0 |
1.2.0 | 1.2.0 | |
uuid |
^4.4.0 |
4.5.2 | 4.5.2 | |
xrandom |
^0.7.2 |
0.7.2 | 0.7.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base32 |
- | 2.2.0 | 2.2.0 | |
base_x |
- | 2.0.1 | 2.0.1 | |
bech32m_i |
- | 0.2.2 | 0.2.2 | |
bip340 |
- | 0.3.1 | 0.3.1 | |
bip39_mnemonic |
- | 4.0.1 | 4.0.1 | |
blockchain_utils |
- | 1.6.0 | 5.2.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
bs58check |
- | 1.0.2 | 1.0.2 | |
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5 | 0.3.5 | |
cryptography |
- | 2.7.0 | 2.7.0 | |
decimal |
- | 3.2.4 | 3.2.4 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
ed25519_hd_key |
- | 2.3.0 | 2.3.0 | |
edwards25519 |
- | 1.0.5 | 1.0.5 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_curve25519 |
- | 0.1.2 | 0.1.2 | |
hashlib_codecs |
- | 3.0.1 | 3.0.1 | |
hex |
- | 0.2.0 | 0.2.0 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
ieee754 |
- | 1.0.3 | 1.0.3 | |
intl |
- | 0.20.2 | 0.20.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
json_schema |
- | 5.2.2 | 5.2.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
merlin |
- | 1.0.3 | 1.0.3 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pinenacl |
- | 0.6.0 | 0.6.0 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
polkadart |
- | 0.7.3 | 0.7.3 | |
polkadart_keyring |
- | 0.7.1 | 0.7.1 | |
polkadart_scale_codec |
- | 1.6.0 | 1.6.0 | |
protobuf |
- | 4.2.0 | 5.1.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rational |
- | 2.2.3 | 2.2.3 | |
rfc_6901 |
- | 0.2.1 | 0.2.1 | |
ristretto255 |
- | 1.0.2 | 1.0.2 | |
secp256k1_ecdsa |
- | 0.6.2 | 0.6.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sr25519 |
- | 0.7.1 | 0.7.1 | |
ss58 |
- | 1.3.1 | 1.3.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
strobe |
- | 1.0.5 | 1.0.5 | |
substrate_bip39 |
- | 0.7.1 | 0.7.1 | |
substrate_metadata |
- | 1.6.0 | 1.6.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
uri |
- | 1.0.0 | 1.0.0 | |
utility |
- | 1.0.3 | 1.0.3 | |
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 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.1, Dart 3.9.4.
Check the analysis log for details.