dcli 2.3.0 dcli: ^2.3.0 copied to clipboard
Dart console SDK - write console (cli) apps/scripts using dart.
We analyzed this package in the last hour, and awarded it 70 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
836 out of 912 API elements (91.7 %) have documentation comments.
Some symbols that are missing documentation: dcli
, dcli.Ask.defaultPrompt
, dcli.Confirm
, dcli.Confirm.Confirm
, dcli.Confirm.defaultPrompt
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:dcli/dcli.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:dcli/dcli.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:dcli/dcli.dart
that declares support for platforms:Windows
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Linux`.
Because:
package:dcli/dcli.dart
that imports:package:dcli/src/util/terminal.dart
that imports:package:dart_console2/dart_console2.dart
that imports:package:dart_console2/src/console.dart
that imports:package:dart_console2/src/ffi/win/termlib_win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:dcli/dcli.dart
that imports:package:dcli/src/util/terminal.dart
that imports:package:dart_console2/dart_console2.dart
that imports:package:dart_console2/src/console.dart
that imports:package:dart_console2/src/ffi/win/termlib_win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
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.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
ERROR: The method 'waitFor' isn't defined for the type 'EntryPoint'.
lib/src/script/entry_point.dart:48:7
╷
48 │ waitFor<void>(stderr.flush());
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/script/entry_point.dart
ERROR: The method 'waitFor' isn't defined for the type 'MyYaml'.
lib/src/script/my_yaml.dart:26:22
╷
26 │ final contents = waitFor<String>(File(path).readAsString());
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/script/my_yaml.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
^61.0.0 |
61.0.0 | 76.0.0 |
analyzer |
^5.4.0 |
5.13.0 | 6.11.0 |
archive |
^3.3.5 |
3.6.1 | 3.6.1 |
args |
^2.4.1 |
2.6.0 | 2.6.0 |
async |
^2.10.0 |
2.12.0 | 2.12.0 |
basic_utils |
^5.5.0 |
5.5.4 | 5.7.0 |
boolean_selector |
^2.1.1 |
2.1.1 | 2.1.1 |
charcode |
^1.3.1 |
1.3.1 | 1.3.1 |
chunked_stream |
^1.4.2 |
1.4.2 | 1.4.2 |
circular_buffer |
^0.11.0 |
0.11.0 | 0.12.0 |
cli_util |
^0.4.0 |
0.4.1 | 0.4.1 |
clock |
^1.1.1 |
1.1.1 | 1.1.1 |
collection |
^1.17.0 |
1.19.0 | 1.19.0 |
convert |
^3.1.1 |
3.1.2 | 3.1.2 |
coverage |
^1.6.2 |
1.6.4 | 1.10.0 |
crypto |
^3.0.2 |
3.0.6 | 3.0.6 |
csv |
^5.0.2 |
5.1.1 | 6.0.0 |
dart_console2 |
^3.0.0 |
3.1.1 | 3.1.1 |
dcli_core |
^2.3.0 |
2.3.0 | 6.0.3 |
equatable |
^2.0.5 |
2.0.5 | 2.0.5 |
ffi |
^2.0.2 |
2.1.3 | 2.1.3 |
file |
^6.0.0 |
6.1.4 | 7.0.1 |
frontend_server_client |
^3.2.0 |
3.2.0 | 4.0.0 |
functional_data |
^1.0.0 |
1.2.0 | 1.2.0 |
glob |
^2.1.1 |
2.1.2 | 2.1.2 |
http |
^0.13.5 |
0.13.6 | 1.2.2 |
http_multi_server |
^3.2.1 |
3.2.1 | 3.2.1 |
http_parser |
^4.0.2 |
4.1.1 | 4.1.1 |
ini |
^2.1.0 |
2.1.0 | 2.1.0 |
intl |
^0.18.1 |
0.18.1 | 0.19.0 |
io |
^1.0.4 |
1.0.4 | 1.0.4 |
js |
^0.6.6 |
0.6.7 | 0.7.1 |
json2yaml |
^3.0.1 |
3.0.1 | 3.0.1 |
json_annotation |
^4.7.0 |
4.9.0 | 4.9.0 |
logging |
^1.1.0 |
1.3.0 | 1.3.0 |
matcher |
^0.12.14 |
0.12.17 | 0.12.17 |
meta |
^1.8.0 |
1.16.0 | 1.16.0 |
mime |
^1.0.4 |
1.0.6 | 2.0.0 |
node_preamble |
^2.0.2 |
2.0.2 | 2.0.2 |
package_config |
^2.1.0 |
2.1.0 | 2.1.0 |
path |
^1.8.3 |
1.9.1 | 1.9.1 |
pointycastle |
^3.6.2 |
3.9.1 | 3.9.1 |
pool |
^1.5.1 |
1.5.1 | 1.5.1 |
posix |
^5.0.0 |
5.0.0 | 6.0.1 |
pub_semver |
^2.1.3 |
2.1.4 | 2.1.4 |
pubspec2 |
^2.4.2 |
2.4.2 | 4.0.0 |
pubspec_lock |
^3.0.2 |
3.0.2 | 3.0.2 |
quiver |
^3.2.1 |
3.2.2 | 3.2.2 |
random_string |
^2.3.1 |
2.3.1 | 2.3.1 |
scope |
^3.0.0 |
3.0.0 | 5.1.0 |
settings_yaml |
^6.0.0 |
6.0.0 | 8.2.0 |
shelf |
^1.4.0 |
1.4.2 | 1.4.2 |
shelf_packages_handler |
^3.0.1 |
3.0.2 | 3.0.2 |
shelf_static |
^1.1.1 |
1.1.3 | 1.1.3 |
shelf_web_socket |
^1.0.3 |
1.0.4 | 2.0.0 |
source_map_stack_trace |
^2.1.1 |
2.1.2 | 2.1.2 |
source_maps |
^0.10.11 |
0.10.12 | 0.10.12 |
source_span |
^1.9.1 |
1.10.0 | 1.10.0 |
stack_trace |
^1.11.0 |
1.12.0 | 1.12.0 |
stream_channel |
^2.1.1 |
2.1.2 | 2.1.2 |
string_scanner |
^1.2.0 |
1.4.0 | 1.4.0 |
sum_types |
^0.3.4 |
0.3.5 | 0.3.5 |
system_info2 |
^4.0.0 |
4.0.0 | 4.0.0 |
term_glyph |
^1.2.1 |
1.2.1 | 1.2.1 |
test_api |
^0.6.0 |
0.6.1 | 0.7.3 |
test_core |
^0.5.2 |
0.5.9 | 0.6.5 |
typed_data |
^1.3.1 |
1.4.0 | 1.4.0 |
uri |
^1.0.0 |
1.0.0 | 1.0.0 |
uuid |
^3.0.7 |
3.0.7 | 4.5.1 |
validators2 |
^5.0.0 |
5.0.0 | 5.0.0 |
vm_service |
^11.6.0 |
11.10.0 | 14.3.0 |
watcher |
^1.0.2 |
1.1.0 | 1.1.0 |
web_socket_channel |
^2.3.0 |
2.4.5 | 3.0.1 |
webkit_inspection_protocol |
^1.2.0 |
1.2.1 | 1.2.1 |
win32 |
^4.1.0 |
4.1.4 | 5.6.1 |
yaml |
^3.1.1 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.1 | 1.3.1 |
globbing |
- | 1.0.0 | 1.0.0 |
web |
- | 0.5.1 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 22 issues. Showing the first 2:
The constraint `^61.0.0` on _fe_analyzer_shared does not support the stable version `62.0.0`.
Try running dart pub upgrade --major-versions _fe_analyzer_shared
to update the constraint.
The constraint `^5.4.0` on analyzer does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions analyzer
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 3 errors:
UNDEFINED_METHOD
-lib/src/script/entry_point.dart:48:7
- The method 'waitFor' isn't defined for the type 'EntryPoint'.UNDEFINED_METHOD
-lib/src/script/my_yaml.dart:26:22
- The method 'waitFor' isn't defined for the type 'MyYaml'.UNDEFINED_FUNCTION
-lib/src/util/wait_for_ex.dart:38:17
- The function 'waitFor' isn't defined.
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.13
, Dart 3.5.3
.
Check the analysis log for details.