kind 0.5.2
kind: ^0.5.2 copied to clipboard
A serialization / reflection framework. Supports JSON and Protobuf / GRPC. Comes with primitives such as Currency and Uuid.
We analyzed this package 18 hours ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/dint-dev/kind 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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
984 out of 1181 API elements (83.3 %) have documentation comments.
Some symbols that are missing documentation: kind.BoolKind.BoolKind.new, kind.BytesKind.BytesKind.new, kind.CamelCaseNamer.CamelCaseNamer.new, kind.CamelCaseNamer.fromEntityKindPropName, kind.CamelCaseNamer.fromName.
10/10 points: Package has 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 27 issues. Showing the first 2:
ERROR: The method 'UnmodifiableUint8ListView' isn't defined for the type 'BytesKind'.
lib/src/kind/bytes_kind.dart:118:35
╷
118 │ static final List<int> _empty = UnmodifiableUint8ListView(Uint8List(0));
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/kind/bytes_kind.dart
ERROR: Undefined class 'UnmodifiableUint8ListView'.
lib/src/kind/uuid.dart:39:3
╷
39 │ UnmodifiableUint8ListView? _bytes;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/kind/uuid.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
fixnum |
^1.0.0 |
1.1.1 | 1.1.1 | |
meta |
^1.3.0 |
1.18.1 | 1.18.1 | |
protobuf |
^2.0.0 |
2.1.0 | 6.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.0.0` on protobuf does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions protobuf 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 7 errors:
UNDEFINED_METHOD-lib/src/kind/bytes_kind.dart:118:35- The method 'UnmodifiableUint8ListView' isn't defined for the type 'BytesKind'.UNDEFINED_CLASS-lib/src/kind/uuid.dart:39:3- Undefined class 'UnmodifiableUint8ListView'.TYPE_TEST_WITH_UNDEFINED_NAME-lib/src/kind/uuid.dart:67:32- The name 'UnmodifiableUint8ListView' isn't defined, so it can't be used in an 'is' expression.
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.8, Dart 3.10.8.
Check the analysis log for details.