dcli_core 6.1.0 dcli_core: ^6.1.0 copied to clipboard
The core asyncronous functions used by dcli. DCli uses waitFor to eliminate async code in the DCli libraries which precludes DCli's usage in non-cli apps (e.g. you can't use it in flutter). The aim of [...]
We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
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
191 out of 235 API elements (81.3 %) have documentation comments.
Some symbols that are missing documentation: dcli_core
, dcli_core.DCliException.DCliException.from
, dcli_core.DCliException.DCliException.fromException
, dcli_core.DCliException.DCliException.fromJson
, dcli_core.DCliException.message
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 does not support platform `Web`.
Because:
package:dcli_core/dcli_core.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dcli_core/dcli_core.dart
that imports:package:dcli_core/src/util/truepath.dart
that imports:package:dcli_core/src/functions/pwd.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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
/tmp/pana_LYINUH/lib/src/functions/find.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.5.0 |
2.12.0 | 2.12.0 |
circular_buffer |
^0.12.0 |
0.12.0 | 0.12.0 |
collection |
^1.15.0 |
1.19.1 | 1.19.1 |
crypto |
^3.0.1 |
3.0.6 | 3.0.6 |
dcli_common |
^6.1.0 |
6.1.0 | 6.1.0 |
ffi |
^2.1.0 |
2.1.3 | 2.1.3 |
logging |
^1.0.2 |
1.3.0 | 1.3.0 |
meta |
>=1.11.0 <2.0.0 |
1.16.0 | 1.16.0 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
scope |
^5.0.0 |
5.1.0 | 5.1.0 |
stack_trace |
^1.10.0 |
1.12.0 | 1.12.0 |
uuid |
^4.1.0 |
4.5.1 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
fixnum |
- | 1.1.1 | 1.1.1 |
sprintf |
- | 7.0.0 | 7.0.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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 1 error:
CONST_WITH_NON_CONST
-lib/src/functions/env.dart:108:35
- The constructor being called isn't a const constructor.
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.22.15
, Dart 3.5.4
.
Check the analysis log for details.