quasar 0.1.1
quasar: ^0.1.1 copied to clipboard
Quasar is a lightweight and performant Dart package that implements the JSON RPC 2 Spec over the NATS Pub/Sub architecture. It can be used as a server, client, or peer, providing seamless communicatio [...]
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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
63 out of 76 API elements (82.9 %) have documentation comments.
Some symbols that are missing documentation: error_code, quasar, quasar.JSON_RPC.id, quasar.JSON_RPC.method, quasar.JSON_RPC.params.
10/10 points: Package has 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:quasar/quasar.dartthat imports:package:quasar/src/models.dartthat imports:package:dart_nats/dart_nats.dartthat imports:package:dart_nats/src/subscription.dartthat imports:package:dart_nats/src/message.dartthat imports:package:dart_nats/src/client.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 47 issues. Showing the first 2:
INFO: The variable name '_return_addr' isn't a lowerCamelCase identifier.
bin/quasar.dart:12:17
╷
12 │ final String? _return_addr;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/quasar.dart
INFO: The type name 'JSON_RPC' isn't an UpperCamelCase identifier.
bin/quasar.dart:28:7
╷
28 │ class JSON_RPC {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/quasar.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dart_nats |
^0.6.1 |
0.6.5 | 0.6.5 | |
pedantic |
^1.9.0 |
1.11.1 | 1.11.1 | Discontinued |
uuid |
^3.0.7 |
3.0.7 | 4.5.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base32 |
- | 2.2.0 | 2.2.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
meta |
- | 1.18.1 | 1.18.1 | |
mutex |
- | 3.1.0 | 3.1.0 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.0.7` on uuid does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions uuid to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- pedantic.
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.10, Dart 3.11.2.
Check the analysis log for details.