dartz_validators 1.0.1 copy "dartz_validators: ^1.0.1" to clipboard
dartz_validators: ^1.0.1 copied to clipboard

Provides a set of extension methods to validate strings, numbers, iterables and maps

1
likes
110/ 140
pub points
0%
popularity

We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/mirkorap/dartz-validators/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

146 out of 151 API elements (96.7 %) have documentation comments.

Some symbols that are missing documentation: dartz_validators, dartz_validators.IterableValidators, dartz_validators.MapValidators, dartz_validators.NumberValidators, dartz_validators.StringValidators.

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
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 72 issues. Showing the first 2:

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

lib/src/failures/iterable_failure.freezed.dart:180:17

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

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

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

lib/src/failures/iterable_failure.freezed.dart:375:17

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

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
credit_card_validator ^2.0.1 2.1.0 2.1.0
dartz ^0.10.1 0.10.1 0.10.1
email_validator ^2.1.17 2.1.17 2.1.17
freezed_annotation ^2.2.0 2.4.1 2.4.1
uuid ^3.0.7 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
credit_card_type_detector - 3.0.0 3.0.0
crypto - 3.0.3 3.0.3
json_annotation - 4.9.0 4.9.0
meta - 1.14.0 1.14.0
typed_data - 1.3.2 1.3.2

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

The constraint `^3.0.7` on uuid does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

1
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Provides a set of extension methods to validate strings, numbers, iterables and maps

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

credit_card_validator, dartz, email_validator, freezed_annotation, uuid

More

Packages that depend on dartz_validators