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.

120/ 160
pub points
22.8k
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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
decimal ^2.0.0 2.3.3 3.2.4
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.

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 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.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
22.8k
downloads

Publisher

unverified uploader

Weekly Downloads

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