json_rpc_2_nats 3.0.4
json_rpc_2_nats: ^3.0.4 copied to clipboard
Utilities to write a client or server using the JSON-RPC 2.0 and Nats
We analyzed this package 2 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: json_rpc_2_nats.
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: json_rpc_2_nats, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("3.0.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
75 out of 79 API elements (94.9 %) have documentation comments.
Some symbols that are missing documentation: error_code, json_rpc_2, json_rpc_2.Parameters.Parameters.new, json_rpc_2.RpcException.RpcException.new.
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
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/client.dart:189:24
╷
189 │ void _handleResponse(response) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client.dart
INFO: Missing type annotation.
lib/src/client.dart:199:30
╷
199 │ void _handleSingleResponse(response) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dart_nats |
^0.6.2 |
0.6.5 | 1.7.0 | |
json_rpc_2 |
^3.0.2 |
3.0.3 | 4.1.0 | |
stack_trace |
^1.10.0 |
1.12.2 | 1.12.2 | |
stream_channel |
^2.1.0 |
2.1.4 | 2.1.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.1 | 2.13.1 | |
base32 |
- | 2.2.0 | 2.2.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.8 | 3.0.8 | |
ed25519_edwards |
- | 0.3.2 | 0.3.2 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mutex |
- | 3.1.0 | 3.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 0.5.1 | 1.1.2 | |
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 `^0.6.2` on dart_nats does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions dart_nats to update the constraint.
The constraint `^3.0.2` on json_rpc_2 does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions json_rpc_2 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.19, Dart 3.13.5.
Check the analysis log for details.