oasis_api 1.0.2 oasis_api: ^1.0.2 copied to clipboard
Oasis API
We analyzed this package 2 days ago, and awarded it 110 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 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: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
690 out of 1510 API elements (45.7 %) have documentation comments.
Some symbols that are missing documentation: injection
, injection.initMicroPackage
, injection.module
, injection.module.OasisApiPackageModule
, injection.module.OasisApiPackageModule.OasisApiPackageModule
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:oasis_api/oasis_api.dart
that imports:package:oasis_api/src/api/service/customer_service.pbgrpc.dart
that imports:package:grpc/service_api.dart
that imports:package:grpc/src/server/service.dart
that imports:package:grpc/src/server/call.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
Found 57 issues. Showing the first 2:
INFO: The import of 'observation_mapper.dart' is unnecessary because all of the used elements are also provided by the import of 'package:oasis_api/oasis_api.dart'.
lib/src/api/mapper/topic_mapper.dart:6:8
╷
6 │ import 'observation_mapper.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api/mapper/topic_mapper.dart
INFO: The import of 'topic_model.dart' is unnecessary because all of the used elements are also provided by the import of 'package:oasis_api/oasis_api.dart'.
lib/src/api/mapper/topic_mapper.dart:7:8
╷
7 │ import 'topic_model.dart';
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api/mapper/topic_mapper.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
fixnum |
^1.1.0 |
1.1.1 | 1.1.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
get_it |
^7.1.4 |
7.7.0 | 8.0.3 |
grpc |
^3.1.0 |
3.2.4 | 4.0.1 |
injectable |
^2.3.2 |
2.5.0 | 2.5.0 |
protobuf |
^3.1.0 |
3.1.0 | 3.1.0 |
smartstruct |
^1.4.0 |
1.4.0 | 1.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.6.1 | 4.0.2 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
google_identity_services_web |
- | 0.3.3 | 0.3.3 |
googleapis_auth |
- | 1.6.0 | 1.6.0 |
http |
- | 1.2.2 | 1.2.2 |
http2 |
- | 2.3.1 | 2.3.1 |
http_parser |
- | 4.1.2 | 4.1.2 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
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.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^7.1.4` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
to update the constraint.
The constraint `^3.1.0` on grpc does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions grpc
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.