promptly 1.0.0-alpha.6 copy "promptly: ^1.0.0-alpha.6" to clipboard
promptly: ^1.0.0-alpha.6 copied to clipboard

A collection of customizable interactive command-line components.

0
likes
130/ 160
pub points
241
downloads

We analyzed this package 11 hours ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://zoocityboy.github.io/promptly was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

406 out of 564 API elements (72.0 %) have documentation comments.

Some symbols that are missing documentation: promptly, promptly.AllowedValidator.AllowedValidator.new, promptly.AllowedValidator.allowed, promptly.AllowedValidator.caseSensitive, promptly.ArgParser.getDefault.

Failed check 0/10 points: Package has an example and has no issues with screenshots

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:promptly/promptly.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:promptly/promptly.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:promptly/promptly.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:promptly/promptly.dart that imports:
  • package:promptly/src/framework/framework.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/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:promptly/promptly.dart that imports:
  • package:promptly/src/framework/framework.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:promptly/promptly.dart that imports:
  • package:promptly/src/framework/framework.dart that imports:
  • package:promptly/src/framework/file_logger.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 26 issues. Showing the first 2:

/tmp/pana_BAMISV/lib/promptly.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_BAMISV/lib/src/command/command_runner.command.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.6.0 2.7.0 2.7.0
cli_completion ^0.5.1 0.5.1 0.5.1
cli_table ^1.0.2 1.0.2 1.0.2
dart_console ^4.1.1 4.1.1 4.1.1
intl ^0.19.0 0.19.0 0.20.2
io ^1.0.5 1.0.5 1.0.5
meta ^1.15.0 1.16.0 1.16.0
path ^1.9.1 1.9.1 1.9.1
tint ^2.0.0 2.0.1 2.0.1
version ^3.0.2 3.0.2 3.0.2
wcwidth ^0.0.4 0.0.4 0.0.4
Transitive dependencies
Package Constraint Compatible Latest Notes
ansi_regex - 0.1.2 0.1.2
ansi_strip - 0.1.1+1 0.1.1+1
chalkdart - 2.4.0 3.0.4
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
east_asian_width - 1.0.1 1.0.1
emoji_regex - 0.0.5 0.0.5
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
mason_logger - 0.3.3 0.3.3
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
string_width - 0.1.5 0.1.5
term_glyph - 1.2.2 1.2.2
win32 - 5.12.0 5.12.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: