grpc_host 5.0.6
grpc_host: ^5.0.6 copied to clipboard
Hosts gRPC services
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: grpc_host
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: grpc_host
.
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: MPL-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
5 out of 135 API elements (3.7 %) 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: grpc_host
, grpc_host.AuthenticationExtensions
, grpc_host.AuthenticationExtensions.authenticate
, grpc_host.AuthenticationExtensions.idToken
, grpc_host.AuthenticationExtensions.jwtPayload
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:grpc_host/grpc_host.dart
that imports:package:grpc_host/src/security/security.dart
that imports:package:grpc_host/src/security/principal.dart
that imports:package:grpc/grpc.dart
that imports:package:grpc/src/shared/streams.dart
that imports:package:http2/transport.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:grpc_host/grpc_host.dart
that imports:package:grpc_host/src/security/security.dart
that imports:package:grpc_host/src/security/principal.dart
that imports:package:grpc/grpc.dart
that imports:package:grpc/src/shared/streams.dart
that imports:package:grpc/src/shared/status.dart
that imports:package:grpc/src/shared/io_bits/io_bits.dart
that imports:package:grpc/src/shared/io_bits/io_bits_io.dart
that 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
INFO: 'Server' is deprecated and shouldn't be used. use Server.create() instead.
lib/src/hosting/services_host.dart:33:20
╷
33 │ final server = Server(services, interceptors);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/hosting/services_host.dart
INFO: The import of 'principal.dart' is unnecessary because all of the used elements are also provided by the import of 'package:grpc_host/grpc_host.dart'.
lib/src/security/authentication_extensions.dart:7:8
╷
7 │ import 'principal.dart';
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/security/authentication_extensions.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
grpc |
^3.0.0 |
3.2.4 | 4.1.0 | |
kiwi |
^4.0.1 |
4.1.0 | 5.0.1 | |
nosql_repository |
^5.0.2 |
5.0.2 | 6.0.0 | Discontinued |
squarealfa_entity_adapter |
^3.1.10 |
3.1.10 | 4.0.0 | Discontinued |
squarealfa_security |
^2.2.1 |
2.2.1 | 3.4.0 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
crypto_keys |
- | 0.3.0+2 | 0.3.0+2 | |
cryptography |
- | 2.7.0 | 2.7.0 | |
decimal |
- | 2.3.3 | 3.2.4 | |
defaults_provider_annotations |
- | 3.0.0 | 3.0.0 | Discontinued |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
googleapis_auth |
- | 1.4.1 | 2.0.0 | |
http |
- | 0.13.6 | 1.4.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jose |
- | 0.3.4 | 0.3.4 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
map_mapper_annotations |
- | 3.2.2 | 4.2.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
proto_annotations |
- | 2.3.1 | 5.0.0 | |
protobuf |
- | 3.1.0 | 4.1.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rational |
- | 2.2.3 | 2.2.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
squarealfa_common_types |
- | 1.2.1 | 2.0.0 | Discontinued |
squarealfa_entity_annotations |
- | 3.0.1 | 5.0.0 | |
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 | |
test_api |
- | 0.7.6 | 0.7.6 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
x509 |
- | 0.2.4+3 | 0.2.4+3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 issues. Showing the first 2:
The constraint `^3.0.0` 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 `^4.0.1` on kiwi does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions kiwi
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.22.21
, Dart 3.8.1
.
Check the analysis log for details.