angel3_websocket 4.1.2
angel3_websocket: ^4.1.2 copied to clipboard
This library provides WebSockets support for Angel3 framework.
We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: angel3_websocket
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
packages/websocket/pubspec.yaml
from the repository URL mismatch: expected https://github.com/dukefirehawk/angel
but got https://github.com/dart-backend/angel
.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
256 out of 343 API elements (74.6 %) have documentation comments.
Some symbols that are missing documentation: angel3_websocket.WebSocketAction.WebSocketAction.fromJson
, angel3_websocket.WebSocketAction.WebSocketAction.new
, angel3_websocket.WebSocketAction.data
, angel3_websocket.WebSocketAction.eventName
, angel3_websocket.WebSocketAction.id
.
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
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/server.dart:333:11
╷
333 │ if (fromJson is Map && fromJson.containsKey('eventName')) {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/server.dart
INFO: An uninitialized field should have an explicit type annotation.
lib/angel3_websocket.dart:31:7
╷
31 │ var data;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/angel3_websocket.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
angel3_auth |
^4.1.0 |
4.1.2 | 8.3.0 | |
angel3_client |
^4.1.0 |
4.2.0 | 8.4.0 | |
angel3_framework |
^4.2.0 |
4.2.4 | 8.5.0 | |
angel3_http_exception |
^3.0.0 |
3.1.0 | 8.3.0 | |
belatuk_merge_map |
^3.0.0 |
3.0.2 | 5.3.0 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
http |
^0.13.1 |
0.13.6 | 1.3.0 | |
logging |
^1.0.1 |
1.3.0 | 1.3.0 | |
meta |
^1.3.0 |
1.16.0 | 1.16.0 | |
stream_channel |
^2.1.0 |
2.1.4 | 2.1.4 | |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
angel3_container |
- | 3.1.1 | 8.3.0 | |
angel3_mock_request |
- | 2.1.0 | 8.3.0 | |
angel3_model |
- | 3.1.1 | 8.3.0 | |
angel3_route |
- | 5.2.0 | 8.4.0 | |
async |
- | 2.13.0 | 2.13.0 | |
belatuk_code_buffer |
- | 3.0.2 | 5.3.0 | |
belatuk_combinator |
- | 3.0.1 | 5.3.0 | |
belatuk_http_server |
- | 2.1.0 | 4.5.0 | |
belatuk_json_serializer |
- | 5.0.0 | 7.3.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
charcode |
- | 1.4.0 | 1.4.0 | |
crypto |
- | 3.0.6 | 3.0.6 | |
file |
- | 6.1.4 | 7.0.1 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
mime |
- | 1.0.6 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
quiver |
- | 3.2.2 | 3.2.2 | |
recase |
- | 4.1.0 | 4.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.4 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.1 | |
web |
- | 0.5.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^4.1.0` on angel3_auth does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions angel3_auth
to update the constraint.
The constraint `^4.1.0` on angel3_client does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions angel3_client
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNCHECKED_USE_OF_NULLABLE_VALUE
-lib/server.dart:282:46
- The property 'hmac' can't be unconditionally accessed because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE
-lib/server.dart:283:31
- The method 'deserializer' can't be unconditionally invoked because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE
-lib/server.dart:289:44
- The property 'hmac' can't be unconditionally accessed because the receiver can be 'null'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.20
, Dart 3.7.2
.
Check the analysis log for details.