infra_did_dart 1.0.2
infra_did_dart: ^1.0.2 copied to clipboard
Infra DID Dart Library
We analyzed this package 19 hours ago, and awarded it 95 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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 204 API elements (1.0 %) 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: infra_did_dart.CredentialSigner
, infra_did_dart.CredentialSigner.CredentialSigner.new
, infra_did_dart.CredentialSigner.did
, infra_did_dart.CredentialSigner.keyId
, infra_did_dart.CredentialSigner.keyType
.
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:infra_did_dart/infra_did_dart.dart
that imports:package:infra_did_dart/src/infra_ss58_did/resolver/resolver.dart
that imports:package:polkadart/polkadart.dart
that imports:package:polkadart/primitives/primitives.dart
that imports:package:polkadart/substrate/substrate.dart
that imports:package:polkadart/substrate/hash/block_hash.dart
that imports:package:polkadart/substrate/hash/hash_base.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:infra_did_dart/infra_did_dart.dart
that imports:package:infra_did_dart/src/infra_ss58_did/resolver/resolver.dart
that imports:package:polkadart/polkadart.dart
that imports:package:polkadart/primitives/primitives.dart
that imports:package:polkadart/substrate/substrate.dart
that imports:package:polkadart/substrate/hash/block_hash.dart
that imports:package:polkadart/substrate/hash/hash_base.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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 2900 issues. Showing the first 2:
WARNING: The value of the local variable 'dataLength' isn't used.
lib/src/infra_did/infra_did_base.dart:77:9
╷
77 │ int dataLength = defaultPubKeyDidSignDataPrefix.length +
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/infra_did/infra_did_base.dart
WARNING: The value of the local variable 'pub' isn't used.
lib/src/infra_did/infra_did_base.dart:83:10
╷
83 │ IKey pub = stringToPublicKey(pubkey);
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/infra_did/infra_did_base.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
base_codecs |
^1.0.1 |
1.0.1 | 1.0.1 | |
bs58 |
^1.0.2 |
1.0.2 | 1.0.2 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.2 |
3.0.6 | 3.0.6 | |
cryptography |
^2.7.0 |
2.7.0 | 2.7.0 | |
ecdsa |
^0.0.4 |
0.0.4 | 0.1.2 | |
ed25519_edwards |
^0.3.1 |
0.3.1 | 0.3.1 | |
eosdart_ecc |
^0.4.4 |
0.4.4 | 0.4.4 | |
http |
^1.1.0 |
1.5.0 | 1.5.0 | |
jose |
^0.3.3 |
0.3.5 | 0.3.5 | |
json_annotation |
^4.3.0 |
4.9.0 | 4.9.0 | |
json_ld_processor |
^1.0.2 |
1.0.4 | 1.0.4 | |
json_path |
^0.6.0 |
0.6.6 | 0.8.0 | |
json_schema |
^5.1.2 |
5.2.2 | 5.2.2 | |
pinenacl |
^0.5.1 |
0.5.1 | 0.6.0 | |
pointycastle |
^3.3.5 |
3.9.1 | 4.0.0 | |
polkadart |
^0.4.3 |
0.4.7 | 0.7.3 | |
polkadart_keyring |
^0.4.3 |
0.4.4 | 0.7.1 | |
quiver |
^3.2.1 |
3.2.2 | 3.2.2 | |
secp256k1 |
^0.3.0 |
0.3.0 | 0.3.0 | |
ss58 |
^1.1.2 |
1.3.1 | 1.3.1 | |
substrate_bip39 |
^0.4.0 |
0.4.1 | 0.7.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
archive |
- | 4.0.7 | 4.0.7 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
base_x |
- | 2.0.1 | 2.0.1 | |
bip39_mnemonic |
- | 3.0.10 | 4.0.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
bs58check |
- | 1.0.2 | 1.0.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto_keys |
- | 0.3.0+1 | 0.3.0+2 | |
edwards25519 |
- | 1.0.5 | 1.0.5 | |
elliptic |
- | 0.3.12 | 0.3.12 | |
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 |
- | 2.6.0 | 3.0.1 | |
hex |
- | 0.2.0 | 0.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
iregexp |
- | 0.1.2 | 0.2.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
maybe_just_nothing |
- | 0.5.3 | 0.5.3 | |
merlin |
- | 1.0.3 | 1.0.3 | |
meta |
- | 1.17.0 | 1.17.0 | |
ninja_asn1 |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 6.1.0 | 7.0.1 | |
polkadart_scale_codec |
- | 1.3.0 | 1.6.0 | |
posix |
- | 6.0.3 | 6.0.3 | |
rfc_6901 |
- | 0.2.1 | 0.2.1 | |
ristretto255 |
- | 1.0.2 | 1.0.2 | |
secp256k1_ecdsa |
- | 0.4.1 | 0.6.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sr25519 |
- | 0.4.1 | 0.7.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_metadata |
- | 1.3.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 |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 | |
x509 |
- | 0.2.4+3 | 0.2.4+3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^0.0.4` on ecdsa does not support the stable version `0.1.0`.
Try running dart pub upgrade --major-versions ecdsa
to update the constraint.
The constraint `^0.6.0` on json_path does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions json_path
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.24
, Dart 3.9.4
.
Check the analysis log for details.