messages_serializer 0.2.0
messages_serializer: ^0.2.0 copied to clipboard
Serialization of messages for package:messages.
We analyzed this package 2 days ago, and awarded it 60 pub points (of a possible 160):
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.
Failed to verify repository URL.
pkgs/messages_serializer/pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: messages_serializer, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
6 out of 19 API elements (31.6 %) have documentation comments.
Some symbols that are missing documentation: messages_serializer.JsonSerializer, messages_serializer.JsonSerializer.JsonSerializer.new, messages_serializer.JsonSerializer.addMessage, messages_serializer.JsonSerializer.encodeMessage, messages_serializer.JsonSerializer.result.
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 7 issues. Showing the first 2:
ERROR: Undefined name 'PluralMarker'.
lib/src/serializer_json.dart:137:23
╷
137 │ caseIndices.add(PluralMarker.few);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/serializer_json.dart
ERROR: Undefined name 'PluralMarker'.
lib/src/serializer_json.dart:141:23
╷
141 │ caseIndices.add(PluralMarker.many);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/serializer_json.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
messages |
^0.1.0 |
0.1.1 | 0.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
intl |
- | 0.18.1 | 0.20.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.1.0` on messages does not support the stable version `0.2.0`.
Try running dart pub upgrade --major-versions messages 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_IDENTIFIER-lib/src/serializer_json.dart:137:23- Undefined name 'PluralMarker'.UNDEFINED_IDENTIFIER-lib/src/serializer_json.dart:141:23- Undefined name 'PluralMarker'.UNDEFINED_GETTER-lib/src/serializer_json.dart:145:20- The getter 'numberCases' isn't defined for the type 'PluralMessage'.
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.