mhu_dart_commons 1.0.9 copy "mhu_dart_commons: ^1.0.9" to clipboard
mhu_dart_commons: ^1.0.9 copied to clipboard

Common utilities used in my Dart and Flutter projects

2
likes
110/ 160
pub points
435
downloads

We analyzed this package 16 hours ago, and awarded it 110 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 short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

224 out of 866 API elements (25.9 %) have documentation comments.

Some symbols that are missing documentation: builder, builder.mhuDartCommonPath, commons, commons.AcquireX, commons.AcquireX.andPerform.

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 not compatible with platform Web

Because:

  • package:mhu_dart_commons/builder.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mhu_dart_commons/builder.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 26 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/isar.freezed.dart:127:17

    ╷
127 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/isar.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/parse.freezed.dart:83:17

   ╷
83 │   bool operator ==(dynamic other) {
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/parse.freezed.dart

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
collection ^1.17.1 1.19.1 1.19.1
cross_file ^0.3.3+4 0.3.4+2 0.3.4+2
decimal ^2.3.3 2.3.3 3.1.0
fast_immutable_collections ^9.1.5 9.2.1 11.0.1
fixnum ^1.1.0 1.1.1 1.1.1
freezed_annotation ^2.4.1 2.4.4 2.4.4
intl ^0.18.1 0.18.1 0.20.1
isar ^3.1.0+1 3.1.0+1 3.1.0+1
logger ^1.4.0 1.4.0 2.5.0
path ^1.8.3 1.9.1 1.9.1
protobuf ^3.0.0 3.1.0 3.1.0
recase ^4.1.0 4.1.0 4.1.0
rxdart ^0.27.7 0.27.7 0.28.0
timeago ^3.5.0 3.7.0 3.7.0
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.2 1.1.2
ffi - 2.1.3 2.1.3
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0
rational - 2.2.3 2.2.3
web - 1.1.0 1.1.0

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

Found 5 issues. Showing the first 2:

The constraint `^2.3.3` on decimal does not support the stable version `3.0.0`.

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

The constraint `^9.1.5` on fast_immutable_collections does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections 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.17, Dart 3.6.0.

Check the analysis log for details.

2
likes
110
points
435
downloads

Publisher

unverified uploader

Weekly Downloads

Common utilities used in my Dart and Flutter projects

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, cross_file, decimal, fast_immutable_collections, fixnum, freezed_annotation, intl, isar, logger, path, protobuf, recase, rxdart, timeago

More

Packages that depend on mhu_dart_commons