dart_ws_grpc 0.0.4
dart_ws_grpc: ^0.0.4 copied to clipboard
A dart client for wsgrpc. Using Websocket as transport of grpc will make client stream and server stream call available for browser scripts.
We analyzed this package 2 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.
10/10 points: 20% or more of the public API has dartdoc comments
111 out of 229 API elements (48.5 %) have documentation comments.
Some symbols that are missing documentation: grpc_streaming, grpc_streaming.Gstream, grpc_streaming.Gstream.channel, grpc_streaming.Gstream.connect, grpc_streaming.Gstream.controller.
10/10 points: Package has an example
10/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 Android
Because:
package:dart_ws_grpc/grpc_streaming.dartthat imports:package:grpc/grpc_web.dartthat imports:package:grpc/src/client/web_channel.dartthat imports:package:grpc/src/client/transport/xhr_transport.dartthat imports:dart:html
Package not compatible with platform iOS
Because:
package:dart_ws_grpc/grpc_streaming.dartthat imports:package:grpc/grpc_web.dartthat imports:package:grpc/src/client/web_channel.dartthat imports:package:grpc/src/client/transport/xhr_transport.dartthat imports:dart:html
Package not compatible with platform Windows
Because:
package:dart_ws_grpc/grpc_streaming.dartthat imports:package:grpc/grpc_web.dartthat imports:package:grpc/src/client/web_channel.dartthat imports:package:grpc/src/client/transport/xhr_transport.dartthat imports:dart:html
Package not compatible with platform Linux
Because:
package:dart_ws_grpc/grpc_streaming.dartthat imports:package:grpc/grpc_web.dartthat imports:package:grpc/src/client/web_channel.dartthat imports:package:grpc/src/client/transport/xhr_transport.dartthat imports:dart:html
Package not compatible with platform macOS
Because:
package:dart_ws_grpc/grpc_streaming.dartthat imports:package:grpc/grpc_web.dartthat imports:package:grpc/src/client/web_channel.dartthat imports:package:grpc/src/client/transport/xhr_transport.dartthat imports:dart:html
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:dart_ws_grpc/api/ws/proto/ws.pbgrpc.dartthat imports:package:grpc/service_api.dartthat imports:package:grpc/src/server/service.dartthat imports:package:grpc/src/server/call.dartthat imports:package:grpc/src/shared/io_bits/io_bits.dartthat imports:package:grpc/src/shared/io_bits/io_bits_io.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/grpc_streaming.dart:55:3
╷
55 │ send(String message) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/grpc_streaming.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
fixnum |
^1.1.0 |
1.1.1 | 1.1.1 | |
grpc |
^3.2.4 |
3.2.4 | 5.1.0 | |
protobuf |
^3.1.0 |
3.1.0 | 6.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.9 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
googleapis_auth |
- | 1.6.0 | 2.3.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.2.4` on grpc does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions grpc to update the constraint.
The constraint `^3.1.0` on protobuf does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions protobuf 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.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.