hasura_cache_interceptor 1.0.0-dev.5
hasura_cache_interceptor: ^1.0.0-dev.5 copied to clipboard
Package to implements cache in Hasura package
We analyzed this package on Apr 22, 2021, and awarded it 90 pub points (of a possible 130):
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 60 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: 20% or more of the public API has dartdoc comments
- 0 out of 28 API elements (0.0 %) 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.
20/20 points: Supports 2 of 2 possible platforms (native, js)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: `Future` results in `async` function bodies must be `await`ed or marked `unawaited` using `package:pedantic`.
lib/src/cache_interceptor.dart:45:5
╷
45 │ _storage.put(key, data.data);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/cache_interceptor.dart
lib/src/cache_interceptor.dart is not formatted according to dartfmt
To format your files run: dartfmt -w .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
hasura_connect | ^3.0.0 | 3.0.0+1 | 3.0.0+1 |
uuid | ^3.0.1 | 3.0.4 | 3.0.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async | - | 2.5.0 | 2.5.0 |
charcode | - | 1.2.0 | 1.2.0 |
collection | - | 1.15.0 | 1.15.0 |
crypto | - | 3.0.1 | 3.0.1 |
dart_websocket | - | 1.0.0 | 1.0.0 |
either_dart | - | 0.1.1 | 0.1.1 |
http_parser | - | 4.0.0 | 4.0.0 |
meta | - | 1.3.0 | 1.3.0 |
path | - | 1.8.0 | 1.8.0 |
pedantic | - | 1.11.0 | 1.11.0 |
source_span | - | 1.8.1 | 1.8.1 |
string_scanner | - | 1.1.0 | 1.1.0 |
string_validator | - | 0.2.0-nullsafety.0 | 0.3.0 |
term_glyph | - | 1.2.0 | 1.2.0 |
typed_data | - | 1.3.0 | 1.3.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with
Pana 0.15.4
,
Dart 2.12.2
.