dcli_core 6.0.3 copy "dcli_core: ^6.0.3" to clipboard
dcli_core: ^6.0.3 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 [...]

0
likes
130/ 160
pub points
73%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

failed
Platform support
20 / 20trigger folding of the section

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.

OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

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

0/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.11.0 0.11.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.0.3 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.

The constraint `^0.11.0` on circular_buffer does not support the stable version `0.12.0`.

Try running dart pub upgrade --major-versions circular_buffer 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.22.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
130
pub points
73%
popularity

Publisher

verified publisheronepub.dev

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 dcli_core is to expose a significant set of the core dcli functions as async version so that dcli_core can be used in any project. DCli will then rely on dcli_core for core parts of its implemenation to avoid duplicating code between the two packages.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

async, circular_buffer, collection, crypto, dcli_common, ffi, logging, meta, path, scope, stack_trace, uuid

More

Packages that depend on dcli_core