signalr_core_new 1.0.2
signalr_core_new: ^1.0.2 copied to clipboard
ASP.NET Core SignalR Client written for Dart that is platform-independent, and can be used on both the command-line and the browser.
We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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
90 out of 230 API elements (39.1 %) have documentation comments.
Some symbols that are missing documentation: signalr_core_new.AccessTokenFactory, signalr_core_new.AvailableTransport, signalr_core_new.AvailableTransport.AvailableTransport.new, signalr_core_new.AvailableTransport.transferFormats, signalr_core_new.AvailableTransport.transport.
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/50 points: code has no errors, warnings, lints, or formatting issues
Found 27 issues. Showing the first 2:
ERROR: The method 'call' can't be unconditionally invoked because the receiver can be 'null'.
lib/src/access_token_http_client.dart:24:48
╷
24 │ _accessToken = await _accessTokenFactory.call();
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/access_token_http_client.dart
ERROR: The method 'call' can't be unconditionally invoked because the receiver can be 'null'.
lib/src/access_token_http_client.dart:32:48
╷
32 │ _accessToken = await _accessTokenFactory.call();
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/access_token_http_client.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
sse_channel |
^0.1.1 |
0.1.1 | 0.2.2 | |
web_socket_channel |
^3.0.1 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.0 | 1.18.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pool |
- | 1.5.2 | 1.5.2 | |
shelf |
- | 1.4.2 | 1.4.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sse |
- | 4.1.8 | 4.1.8 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.1.1` on sse_channel does not support the stable version `0.2.0`.
Try running dart pub upgrade --major-versions sse_channel 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 27 errors:
UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/access_token_http_client.dart:24:48- The method 'call' can't be unconditionally invoked because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/access_token_http_client.dart:32:48- The method 'call' can't be unconditionally invoked because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/hub_connection.dart:83:11- The method 'onreceive' can't be unconditionally invoked 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.23.5, Dart 3.10.7.
Check the analysis log for details.