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 7 days ago, and awarded it 70 pub points (of a possible 160):
0/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.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: kind
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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
982 out of 1106 API elements (88.8 %) have documentation comments.
Some symbols that are missing documentation: kind.CamelCaseNamer.fromEntityKindPropName
, kind.CamelCaseNamer.fromName
, kind.CamelCaseNamer.rules
, kind.CamelCaseNamer.upperCaseProps
, kind.ConvertibleUnitOfMeasure.ConvertibleUnitOfMeasure.specify
.
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/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 25 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 |
---|---|---|---|
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.16.0 | 1.16.0 |
protobuf |
^2.0.0 |
2.1.0 | 3.1.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.22.15
, Dart 3.5.4
.
Check the analysis log for details.