agent_dart 0.1.24+1
agent_dart: ^0.1.24+1 copied to clipboard
An agent library built for Internet Computer, a plugin package for dart and flutter apps. Developers can build ones to interact with Dfinity's blockchain directly.
We analyzed this package 5 days ago, and awarded it 80 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
3181 out of 6399 API elements (49.7 %) have documentation comments.
Some symbols that are missing documentation: actor, actor.Actor.Actor.new, actor.Actor.canisterIdOf, actor.Actor.createActor, actor.Actor.createActorClass.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:agent_dart/agent_dart.dartthat imports:package:agent_dart/archiver/archiver.dartthat imports:package:agent_dart/archiver/signing_block.dartthat imports:package:archive/archive_io.dartthat imports:package:archive/src/io/zip_file_encoder.dartthat imports:package:archive/src/io/output_file_stream.dartthat imports:package:archive/src/io/file_handle.dartthat imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 339 issues. Showing the first 2:
ERROR: 'SingingBlockZipFileEncoder.zipDirectory' ('void Function(Directory, {String? filename, bool followLinks, int? level, DateTime? modified})') isn't a valid override of 'ZipFileEncoder.zipDirectory' ('void Function(Directory, {String? filename, bool followLinks, int? level, DateTime? modified, void Function(double)? onProgress})').
lib/archiver/encoder.dart:74:8
╷
74 │ void zipDirectory(Directory dir,
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/archiver/encoder.dart
ERROR: 'SingingBlockZipFileEncoder.addDirectory' ('Future
lib/archiver/encoder.dart:99:16
╷
99 │ Future<void> addDirectory(Directory dir,
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/archiver/encoder.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.3.0 |
3.6.1 | 4.0.7 | |
args |
^2.3.1 |
2.7.0 | 2.7.0 | |
basic_utils |
^4.2.2 |
4.5.2 | 5.8.2 | |
bip32 |
^2.0.0 |
2.0.0 | 2.0.0 | |
bip39 |
^1.0.6 |
1.0.6 | 1.0.6 | |
cbor |
^4.1.0 |
4.1.0 | 6.3.7 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
convert |
^3.0.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.2 |
3.0.7 | 3.0.7 | |
ffi |
^1.2.1 |
1.2.1 | 2.1.4 | |
fixnum |
^1.0.1 |
1.1.1 | 1.1.1 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
js |
^0.6.4 |
0.6.7 | 0.7.2 | Discontinued |
meta |
^1.7.0 |
1.17.0 | 1.17.0 | |
path |
^1.8.1 |
1.9.1 | 1.9.1 | |
pinenacl |
^0.3.4 |
0.3.4 | 0.6.0 | |
pointycastle |
^3.6.0 |
3.9.1 | 4.0.0 | |
protobuf |
^2.0.1 |
2.1.0 | 5.1.0 | |
recase |
^4.0.0 |
4.1.0 | 4.1.0 | |
tuple |
^2.0.0 |
2.0.2 | 2.0.2 | |
typed_data |
^1.3.1 |
1.4.0 | 1.4.0 | |
uuid |
^3.0.6 |
3.0.7 | 4.5.2 | |
validators |
^3.0.0 |
3.0.0 | 3.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
bs58check |
- | 1.0.2 | 1.0.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
hex |
- | 0.2.0 | 0.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 11 issues. Showing the first 2:
The constraint `^3.3.0` 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 `^4.2.2` on basic_utils does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions basic_utils 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 43 errors:
UNDEFINED_METHOD-lib/bls/wasm_interop.dart:46:11- The method 'instanceof' isn't defined for the type 'Module'.UNDEFINED_METHOD-lib/bls/wasm_interop.dart:47:28- The method 'getProperty' isn't defined for the type 'Module'.UNDEFINED_METHOD-lib/bls/wasm_interop.dart:87:7- The method 'promiseToFuture' isn't defined for the type 'Module'.
Run flutter pub downgrade and then flutter 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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.
Check the analysis log for details.