fresh_grpc 0.3.0 fresh_grpc: ^0.3.0 copied to clipboard
An grpc link for token refresh. Built on top of package:grpc and manages authentication tokens transparently.
We analyzed this package 6 hours ago, and awarded it 95 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:25:49
╷
25 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
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
30 out of 38 API elements (78.9 %) have documentation comments.
Some symbols that are missing documentation: fresh_grpc
, fresh_grpc.FreshGrpc.authenticate
, fresh_grpc.FreshGrpc.oAuth2
, fresh_grpc.FreshGrpc.obtainAccessCredentials
, fresh_grpc.FreshGrpc.toCallOptions
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:fresh_grpc/fresh_grpc.dart
that imports:package:fresh_grpc/src/fresh.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
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: This 'onError' handler must return a value assignable to 'T', but ends without returning a value.
lib/src/fresh.dart:116:27
╷
116 │ .catchError((_) {})
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/fresh.dart
INFO: The null check operator shouldn't be used on a variable whose type is a potentially nullable type parameter.
lib/src/fresh.dart:107:37
╷
107 │ ? _tokenHeader!(_accessToken!)
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/fresh.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
fresh |
^0.4.0 |
0.4.2 | 0.4.2 |
grpc |
^3.0.0 |
3.2.4 | 3.2.4 |
http |
^0.13.3 |
0.13.6 | 1.2.1 |
meta |
^1.3.0 |
1.15.0 | 1.15.0 |
pedantic |
^1.11.0 |
1.11.1 | 1.11.1 |
retry |
^3.1.0 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.6.0 | 3.6.0 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
fixnum |
- | 1.1.0 | 1.1.0 |
googleapis_auth |
- | 1.4.1 | 1.6.0 |
http2 |
- | 2.3.0 | 2.3.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
path |
- | 1.9.0 | 1.9.0 |
protobuf |
- | 3.1.0 | 3.1.0 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.13.3` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.