packages_extensions 0.1.0 copy "packages_extensions: ^0.1.0" to clipboard
packages_extensions: ^0.1.0 copied to clipboard

Extensions for non Dart core packages.

0
likes
120/ 160
pub points
72%
popularity

We analyzed this package 19 hours ago, and awarded it 120 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

12 out of 16 API elements (75.0 %) have documentation comments.

Some symbols that are missing documentation: packages_extensions, packages_extensions.DecimalExtension, packages_extensions.RationalExtensionBase, rational_extension.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
decimal ^2.0.0 2.3.3 3.1.0
power_extensions ^0.2.0 0.2.3 0.2.3
rational ^2.0.0 2.2.3 2.2.3

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

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

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/decimal_extension_base.dart:53:28 - The argument type 'Decimal' can't be assigned to the parameter type 'Rational'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/decimal_extension_base.dart:148:32 - The argument type 'Decimal' can't be assigned to the parameter type 'Rational'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/decimal_extension_base.dart:148:68 - The argument type 'Decimal' can't be assigned to the parameter type 'Rational'.

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.22.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
120
pub points
72%
popularity

Publisher

unverified uploader

Extensions for non Dart core packages.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

decimal, power_extensions, rational

More

Packages that depend on packages_extensions