dcli_unit_tester 4.0.5 copy "dcli_unit_tester: ^4.0.5" to clipboard
dcli_unit_tester: ^4.0.5 copied to clipboard

This project allows dcli to unit test functions that behave differently when installed via 'dart pub global activate'. It serves no other useful purpose so do not install!

50/ 160
pub points
156
downloads

We analyzed this package 3 days ago, and awarded it 50 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

Repository URL doesn't exist.

At the time of the analysis https://github.com/onepub/dcli 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

0 out of 0 API elements (100.0 %) have documentation comments.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: The function 'withTempDirAsync' isn't defined.

bin/publish.dart:8:9

  ╷
8 │   await withTempDirAsync((tmp) async {
  │         ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/publish.dart

Failed report section
Support up-to-date dependencies
10 / 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.3.0 2.7.0 2.7.0
dcli ^4.0.3 4.0.5 8.4.2
dcli_core ^4.0.3 4.0.7 8.4.2
dcli_terminal ^4.0.3 4.0.3 8.4.2
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.9
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.13.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csv - 6.0.0 8.0.0
dart_console - 4.1.4 4.1.4
dcli_common - 4.0.3 8.4.2
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
functional_data - 1.2.0 1.2.0
glob - 2.1.3 2.1.3
globbing - 1.0.0 1.0.0 Discontinued
ini - 2.1.0 2.1.0
intl - 0.20.2 0.20.2
json2yaml - 3.0.1 3.0.1
lists - 1.0.1 1.0.1 Discontinued
logging - 1.3.0 1.3.0
meta - 1.18.2 1.18.2
mime - 1.0.6 2.0.0
native_synchronization - 0.2.0 0.3.1
posix - 6.5.0 6.5.0
pub_semver - 2.2.0 2.2.0
pubspec_lock - 3.0.2 3.0.2
pubspec_manager - 1.0.3 4.0.1
runtime_named_locks - 1.0.0-beta.6 1.0.0-beta.6
runtime_native_semaphores - 1.0.0-beta.6 1.0.0-beta.6
scope - 4.1.1 5.1.0
settings_yaml - 8.3.1 8.3.1
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
strings - 3.1.2 4.0.1
sum_types - 0.3.5 0.4.0
system_info2 - 4.1.0 4.1.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.9
uuid - 4.5.3 4.5.3
validators2 - 5.1.0 5.1.0
win32 - 5.15.0 6.1.0
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^4.0.3` on dcli does not support the stable version `5.0.0`.

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

The constraint `^4.0.3` on dcli_core does not support the stable version `5.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_FUNCTION - bin/publish.dart:8:9 - The function 'withTempDirAsync' 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.23.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
50
points
156
downloads

Documentation

API reference

Publisher

verified publisheronepub.dev

Weekly Downloads

This project allows dcli to unit test functions that behave differently when installed via 'dart pub global activate'. It serves no other useful purpose so do not install!

Repository (GitHub)

License

MIT (license)

Dependencies

args, dcli, dcli_core, dcli_terminal, path

More

Packages that depend on dcli_unit_tester