dart_nats_streaming 0.0.7 dart_nats_streaming: ^0.0.7 copied to clipboard
A client for NATS Streaming Server.
We analyzed this package 7 days ago, and awarded it 80 pub points (of a possible 140):
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 60 to 180 characters to describe the package, what it does, and its target use case.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 26 API elements (3.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
Some symbols that are missing documentation: dart_nats_streaming.Client
, dart_nats_streaming.Client.Client
, dart_nats_streaming.Client.acknowledge
, dart_nats_streaming.Client.clientID
, dart_nats_streaming.Client.close
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:dart_nats_streaming/dart_nats_streaming.dart
that imports:package:dart_nats_streaming/src/client.dart
that imports:package:dart_nats_streaming/src/subscription.dart
that imports:package:dart_nats/dart_nats.dart
that imports:package:dart_nats/src/subscription.dart
that imports:package:dart_nats/src/client.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: This function has a nullable return type of 'FutureOr
lib/src/client.dart:248:25
╷
248 │ Future<Subscription?> subscribe({
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client.dart
lib/src/client.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dart_nats |
^0.2.0 |
0.2.0 | 0.6.2 |
fixnum |
^1.0.0 |
1.1.0 | 1.1.0 |
pedantic |
^1.9.0 |
1.11.1 | 1.11.1 |
protobuf |
^2.0.0 |
2.1.0 | 3.1.0 |
retry |
^3.1.0 |
3.1.2 | 3.1.2 |
uuid |
^3.0.2 |
3.0.7 | 4.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
meta |
- | 1.14.0 | 1.14.0 |
typed_data |
- | 1.3.2 | 1.3.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^0.2.0` on dart_nats does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions dart_nats
to update the constraint.
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
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.