kalil_utils 3.0.3
kalil_utils: ^3.0.3 copied to clipboard
An collection with Functional utils and some data structures
We analyzed this package 17 hours ago, and awarded it 60 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:13:49
╷
13 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("3.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting kalil_utils... Discovering libraries... Linking elements... Precaching local docs for 155503 elements... Initialized dartdoc with 107 libraries Generating docs for library curry.dart from package:kalil_utils/curry.dart... Generating docs for library extensions.dart from package:kalil_utils/extensions.dart... Generating docs for library utils.dart from package:kalil_utils/utils.dart... Generating docs for library event_bus.dart from package:kalil_utils/event_bus.dart... Generating docs for library stream_notifier.dart from package:kalil_utils/stream_notifier.dart... [11 more lines] ERR: warning: ambiguous reexport of event_sourcing.EventSourcedModel, canonicalization candidates: (kalil_utils, kalil_utils.event_sourcing, kalil_utils.event_sourcing.data) -> kalil_utils.event_sourc[...] from event_sourcing.EventSourcedModel: (file:///tmp/pana_VLALDI/lib/src/event_sourcing/event_sourcing.dart:6:16) kalil_utils: 1.210 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) kalil_utils.event_sourcing: 1.420 - (_Reason.packageName (+1.000), _Reason.longName (+0.02000), _Reason.sharedNamePart (+0.4000)) kalil_utils.event_sourcing.data: 1.430 - (_Reason.packageName (+1.000), _Reason.longName (+0.03000), _Reason.sharedNamePart (+0.4000)) Use {@canonicalFor event_sourcing.EventSourcedModel} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library [238 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 131 issues. Showing the first 2:
ERROR: Classes and mixins can only implement other classes and mixins.
lib/src/tuple.g.dart:9:38
╷
9 │ class Tuple0 with TupleN0 implements ProductType, TupleN0 {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tuple.g.dart
ERROR: Undefined class 'ProductRuntimeType'.
lib/src/tuple.g.dart:15:3
╷
15 │ ProductRuntimeType get runtimeType => ProductRuntimeType([]);
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tuple.g.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adt_annotation_base |
^3.0.0 |
3.1.0 | 3.1.0 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
meta |
^1.2.4 |
1.18.0 | 1.18.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 63 errors:
IMPLEMENTS_NON_CLASS-lib/src/tuple.g.dart:9:38- Classes and mixins can only implement other classes and mixins.UNDEFINED_CLASS-lib/src/tuple.g.dart:15:3- Undefined class 'ProductRuntimeType'.UNDEFINED_METHOD-lib/src/tuple.g.dart:15:41- The method 'ProductRuntimeType' isn't defined for the type 'Tuple0'.
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.5, Dart 3.10.7.
Check the analysis log for details.