npc 1.0.0
npc: ^1.0.0 copied to clipboard
Near Procedure Call.
We analyzed this package 2 days ago, and awarded it 90 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
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
25 out of 27 API elements (92.6 %) have documentation comments.
Some symbols that are missing documentation: npc, npc.Disposable.Disposable.new.
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
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: This expression has a type of 'void' so its value can't be used.
lib/src/npc.dart:73:25
╷
73 │ await disposable?.dispose();
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/npc.dart
INFO: Uses 'await' on an instance of 'void', which is not a subtype of 'Future'.
lib/src/npc.dart:73:7
╷
73 │ await disposable?.dispose();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/npc.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cancelable |
^1.0.0 |
1.0.2 | 4.2.1 | |
meta |
^1.0.0 |
1.18.0 | 1.18.0 |
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 `4.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.5, Dart 3.10.7.
Check the analysis log for details.