ic_tools 2.1.5
ic_tools: ^2.1.5 copied to clipboard
Tools for communicating with the world-computer.
We analyzed this package 8 days ago, and awarded it 30 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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/levifeldman/ic_tools was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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.
10/10 points: 20% or more of the public API has dartdoc comments
116 out of 337 API elements (34.4 %) have documentation comments.
Some symbols that are missing documentation: candid.Blob.Blob.new, candid.Blob.Blob.type_mode, candid.Blob.addAll_bytes, candid.Blob.add_byte, candid.Blob.get_byte_i.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 804 issues. Showing the first 2:
ERROR: The argument type 'Principal?' can't be assigned to the parameter type 'Principal'.
lib/src/ic_tools.dart:700:95
╷
700 │ SubnetData subnet_data = parse_certificate_tree_for_subnet_data(certificate_tree, read_state_of_subnet_id);
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ic_tools.dart
ERROR: The argument type 'Principal?' can't be assigned to the parameter type 'Principal'.
lib/src/ic_tools.dart:701:27
╷
701 │ subnets_cache[read_state_of_subnet_id] = subnet_data;
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ic_tools.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.1.2 |
3.6.1 | 4.2.0 | |
base32 |
2.0.0 |
2.0.0 | 2.2.0 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
convert |
^3.0.0 |
3.1.2 | 3.1.2 | |
crypto |
3.0.3 |
3.0.3 | 3.0.7 | |
cryptography |
^2.7.0 |
2.9.0 | 2.9.0 | |
ffi |
2.1.0 |
2.1.0 | 2.2.0 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
http |
0.13.3 |
0.13.3 | 1.6.0 | |
ieee754 |
^1.0.3 |
1.0.3 | 1.0.3 | |
js |
^0.6.3 |
0.6.7 | 0.7.2 | Discontinued |
meta |
^1.3.0 |
1.19.0 | 1.19.0 | |
tuple |
^2.0.0 |
2.0.2 | 2.0.2 | |
typed_data |
^1.3.0 |
1.4.0 | 1.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
path |
- | 1.9.1 | 1.9.1 | |
pedantic |
- | 1.11.1 | 1.11.1 | Discontinued |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 7 issues. Showing the first 2:
The constraint `^3.1.2` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
The constraint `2.0.0` on base32 does not support the stable version `2.1.0`.
Try running dart pub upgrade --major-versions base32 to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/ic_tools.dart:700:95- The argument type 'Principal?' can't be assigned to the parameter type 'Principal'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/ic_tools.dart:701:27- The argument type 'Principal?' can't be assigned to the parameter type 'Principal'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.18, Dart 3.13.1.
Check the analysis log for details.