x_action_cable 0.3.0
x_action_cable: ^0.3.0 copied to clipboard
Not an only port for action cable, but with some pattern to help you integrate with your web or apps.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
10 out of 65 API elements (15.4 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: action_cable, action_cable.ActionCable, action_callback, action_callback.ActionCallback.ActionCallback.new, action_callback.ActionCallback.callback.
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
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:x_action_cable/x_action_cable.dartthat imports:package:x_action_cable/action_cable.dartthat imports:package:x_action_cable/helpers/handle_data.helper.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/file_output_stub.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:x_action_cable/x_action_cable.dartthat imports:package:x_action_cable/action_cable.dartthat imports:package:x_action_cable/helpers/handle_data.helper.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/file_output_stub.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.
lib/action_cable.dart:34:32
╷
34 │ Map<String, String> headers: const {},
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/action_cable.dart
INFO: Missing type annotation.
lib/action_cable.dart:107:21
╷
107 │ void _healthCheck(_, {VoidCallback? onConnectionLost}) {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/action_cable.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
logger |
^1.1.0 |
1.4.0 | 2.6.2 | |
web_socket_channel |
^2.2.0 |
2.4.5 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
meta |
- | 1.18.0 | 1.18.0 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 0.5.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.1.0` on logger does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions logger to update the constraint.
The constraint `^2.2.0` on web_socket_channel does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web_socket_channel 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.