pip_services_msgtemplates 1.1.0
pip_services_msgtemplates: ^1.1.0 copied to clipboard
MessageTemplates microservice microservice for Pip.Services in Dart. It shows to users inspirational msgtemplates on various topics.
We analyzed this package 23 hours ago, and awarded it 130 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/pip-services-content/pip-services-msgtemplates-dart 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.
10/10 points: 20% or more of the public API has dartdoc comments
137 out of 222 API elements (61.7 %) have documentation comments.
Some symbols that are missing documentation: pip_services_msgtemplates, pip_services_msgtemplates.IMessageTemplatesController, pip_services_msgtemplates.IMessageTemplatesController.IMessageTemplatesController.new, pip_services_msgtemplates.IMessageTemplatesPersistence, pip_services_msgtemplates.IMessageTemplatesPersistence.IMessageTemplatesPersistence.new.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:pip_services_msgtemplates/pip_services_msgtemplates.dartthat imports:package:pip_services_msgtemplates/src/build/build.dartthat imports:package:pip_services_msgtemplates/src/build/MessageTemplatesServiceFactory.dartthat imports:package:pip_services_msgtemplates/src/services/version1/MessageTemplatesHttpServiceV1.dartthat imports:package:pip_services3_commons/pip_services3_commons.dartthat imports:package:pip_services3_commons/src/validate/validate.dartthat imports:package:pip_services3_commons/src/validate/ProjectionParamsSchema.dartthat imports:package:pip_services3_commons/src/validate/ArraySchema.dartthat imports:package:pip_services3_commons/src/reflect/ObjectReader.dartthat imports:package:pip_services3_commons/src/reflect/PropertyReflector.dartthat imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:pip_services_msgtemplates/pip_services_msgtemplates.dartthat imports:package:pip_services_msgtemplates/src/build/build.dartthat imports:package:pip_services_msgtemplates/src/build/MessageTemplatesServiceFactory.dartthat imports:package:pip_services_msgtemplates/src/services/version1/MessageTemplatesHttpServiceV1.dartthat imports:package:pip_services3_commons/pip_services3_commons.dartthat imports:package:pip_services3_commons/src/validate/validate.dartthat imports:package:pip_services3_commons/src/validate/ProjectionParamsSchema.dartthat imports:package:pip_services3_commons/src/validate/ArraySchema.dartthat imports:package:pip_services3_commons/src/reflect/ObjectReader.dartthat imports:package:pip_services3_commons/src/reflect/PropertyReflector.dartthat imports:dart:mirrors
Package not compatible with platform Web
Because:
package:pip_services_msgtemplates/pip_services_msgtemplates.dartthat imports:package:pip_services_msgtemplates/src/build/build.dartthat imports:package:pip_services_msgtemplates/src/build/MessageTemplatesServiceFactory.dartthat imports:package:pip_services_msgtemplates/src/services/version1/MessageTemplatesHttpServiceV1.dartthat imports:package:pip_services3_commons/pip_services3_commons.dartthat imports:package:pip_services3_commons/src/validate/validate.dartthat imports:package:pip_services3_commons/src/validate/ProjectionParamsSchema.dartthat imports:package:pip_services3_commons/src/validate/ArraySchema.dartthat imports:package:pip_services3_commons/src/reflect/ObjectReader.dartthat imports:package:pip_services3_commons/src/reflect/PropertyReflector.dartthat imports:dart:mirrors
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 25 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/persistence/MessageTemplatesMemoryPersistence.dart:110:55
╷
110 │ if (item != null && item.isNotEmpty && item.first != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/persistence/MessageTemplatesMemoryPersistence.dart
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/persistence/MessageTemplatesMongoDbPersistence.dart:118:16
╷
118 │ if (filter != null && filter.isNotEmpty) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/persistence/MessageTemplatesMongoDbPersistence.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^0.13.3 |
0.13.6 | 1.6.0 | |
mongo_dart_query |
^1.0.2 |
1.0.2 | 5.0.2 | |
pip_services3_commons |
^1.1.5 |
1.1.7 | 1.1.7 | |
pip_services3_components |
^1.2.0 |
1.2.4 | 1.2.4 | |
pip_services3_container |
^1.1.1 |
1.1.2 | 1.1.2 | |
pip_services3_data |
^1.1.2 |
1.1.2 | 1.1.2 | |
pip_services3_grpc |
^1.1.1 |
1.1.1 | 1.1.1 | |
pip_services3_mongodb |
^1.1.1 |
1.1.2 | 1.1.4 | |
pip_services3_rpc |
^1.2.0 |
1.2.5 | 1.2.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 31.0.0 | 93.0.0 | |
analyzer |
- | 2.8.0 | 10.0.0 | |
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
basic_utils |
- | 3.9.4 | 5.8.2 | |
bson |
- | 1.0.4 | 5.0.7 | |
buffer |
- | 1.2.3 | 1.2.3 | |
cli_util |
- | 0.3.5 | 0.4.2 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
googleapis_auth |
- | 1.4.1 | 2.0.0 | |
grpc |
- | 3.2.4 | 5.1.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_methods |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mongo_dart |
- | 0.7.4+1 | 0.10.5 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pip_services3_expressions |
- | 1.0.1 | 1.0.1 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
pool |
- | 1.5.2 | 1.5.2 | |
power_extensions |
- | 0.2.3 | 0.2.3 | |
protobuf |
- | 2.1.0 | 6.0.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rational |
- | 1.2.1 | 2.2.3 | |
sasl_scram |
- | 0.1.1 | 0.1.1 | |
saslprep |
- | 1.0.3 | 1.0.3 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_router |
- | 1.1.4 | 1.1.4 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 6.0.2 | 7.0.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
uuid |
- | 3.0.7 | 4.5.2 | |
vy_string_utils |
- | 0.4.6 | 0.4.6 | |
watcher |
- | 1.2.0 | 1.2.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.3` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
The constraint `^1.0.2` on mongo_dart_query does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions mongo_dart_query to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.