dart_consul 0.0.17
dart_consul: ^0.0.17 copied to clipboard
Basic console windowing system (TUI). Because why not. Supports keyboard and mouse driven interaction.
We analyzed this package 4 days ago, and awarded it 140 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
278 out of 1022 API elements (27.2 %) have documentation comments.
Some symbols that are missing documentation: common
, common.AutoWrapString
, common.AutoWrapString.autoWrap
, common.ConsulHexList
, common.ConsulIntExtensions
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:dart_consul/dart_consul.dart
that imports:package:dart_consul/src/consul/con_io/termlib_con_io.dart
that imports:package:termparser/termparser.dart
that declares support for platforms:Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:dart_consul/dart_consul.dart
that imports:package:dart_consul/src/consul/con_io/termlib_con_io.dart
that imports:package:termparser/termparser.dart
that declares support for platforms:Linux
,macOS
.
Package does not support platform `Windows`.
Because:
package:dart_consul/dart_consul.dart
that imports:package:dart_consul/src/consul/con_io/termlib_con_io.dart
that imports:package:termparser/termparser.dart
that declares support for platforms:Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:dart_consul/dart_consul.dart
that imports:package:dart_consul/src/consul/con_io/termlib_con_io.dart
that imports:package:termparser/termparser.dart
that declares support for platforms: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:dart_consul/dart_consul.dart
that imports:package:dart_consul/src/consul/con_io/termlib_con_io.dart
that imports:package:termlib/termlib.dart
that imports:package:termlib/src/termlib_base.dart
that imports:package:termlib/src/shared/terminal_overrides.dart
that imports:package:termlib/src/ffi/termos.dart
that imports:package:termlib/src/ffi/win/termos_win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:dart_consul/dart_consul.dart
that imports:package:dart_consul/src/consul/con_io/termlib_con_io.dart
that imports:package:termlib/termlib.dart
that imports:package:termlib/src/termlib_base.dart
that imports:package:termlib/src/shared/terminal_overrides.dart
that imports:package:termlib/src/ffi/termos.dart
that imports:package:termlib/src/ffi/win/termos_win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dart_consul/dart_consul.dart
that imports:package:dart_consul/src/consul/dui.dart
that imports:package:dart_minilog/dart_minilog.dart
that imports:package:dart_minilog/src/log.dart
that imports:package:ansi/ansi.dart
that imports:package:ansi/src/style.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: The declaration 'chain' isn't referenced.
lib/src/consul/dui.dart:253:8
╷
253 │ void chain(void Function(String) onChange) {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/consul/dui.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/consul/desktop.dart:86:10
╷
86 │ /// Is <Ctrl-c> intercepted? Or auto-handled by the console to stop the program? Note that if you
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/consul/desktop.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ansi |
^0.4.2 |
0.4.2 | 0.4.2 | |
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
console |
^4.1.0 |
4.1.0 | 4.1.0 | |
dart_minilog |
^0.0.2 |
0.0.2 | 0.0.2 | |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 | |
termansi |
^0.3.1 |
0.3.1 | 0.3.1 | |
termlib |
^0.4.0 |
0.4.0 | 0.4.0 | |
termparser |
^0.3.0 |
0.3.0 | 0.3.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
meta |
- | 1.17.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 5.14.0 | 5.14.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Dart 3.8.1
.
Check the analysis log for details.