craba 0.0.2
craba: ^0.0.2 copied to clipboard
Craba is a method call component for custom communication.
We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/neutronstarer/craba_dart 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
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
7 out of 25 API elements (28.0 %) have documentation comments.
Some symbols that are missing documentation: craba, craba.Craba, craba.Craba.Craba.new, craba.Craba.deliver, craba.Craba.emit.
10/10 points: Package has 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
ERROR: A value of type 'Disposable' can't be assigned to a variable of type 'StreamSubscription
lib/src/craba.dart:135:13
╷
135 │ sub = cancelable.whenCancel(() async {
│ ┌─────────────^
136 │ │ if (await onReply(null, 'cancelled') == true) {
137 │ │ final m = Message(typ: Typ.cancel, id: id);
138 │ │ await _send(m);
139 │ │ }
140 │ │ });
│ └────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/craba.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cancelable |
<1.0.0 |
0.0.8 | 4.2.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `<1.0.0` on cancelable does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions cancelable 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.23.11, Dart 3.11.2.
Check the analysis log for details.