amplify_api_dart 0.5.7 amplify_api_dart: ^0.5.7 copied to clipboard
The Amplify API category plugin in Dart-only, supporting GraphQL and REST operations.
We analyzed this package 32 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
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: amplify_api_dart
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has multiple matching pubspec.yaml
with name: amplify_api_dart
.
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
162 out of 212 API elements (76.4 %) have documentation comments.
Some symbols that are missing documentation: amplify_api_dart.APIAuthorizationType.authProviderToken
, amplify_api_dart.AmplifyAPIDart.delete
, amplify_api_dart.AmplifyAPIDart.head
, amplify_api_dart.AmplifyAPIDart.mutate
, amplify_api_dart.AmplifyAPIDart.patch
.
10/10 points: Package has 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:amplify_api_dart/amplify_api_dart.dart
that imports:package:amplify_api_dart/src/graphql/model_helpers/model_subscriptions.dart
that imports:package:amplify_core/amplify_core.dart
that imports:package:amplify_core/src/types/storage/storage_types.dart
that imports:package:amplify_core/src/types/storage/upload_file_options.dart
that imports:package:aws_common/aws_common.dart
that imports:package:aws_common/src/http/aws_http_client.dart
that imports:package:aws_common/src/http/aws_http_client_io.dart
that imports:package:http2/http2.dart
that imports:package:http2/transport.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: This default clause is covered by the previous cases.
lib/src/graphql/factories/graphql_request_factory.dart:179:7
╷
179 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/graphql/factories/graphql_request_factory.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
amplify_core |
>=2.5.0 <2.6.0 |
2.5.0 | 2.5.0 |
async |
^2.10.0 |
2.12.0 | 2.12.0 |
aws_common |
>=0.7.4 <0.8.0 |
0.7.4 | 0.7.4 |
collection |
^1.15.0 |
1.19.1 | 1.19.1 |
json_annotation |
>=4.9.0 <4.10.0 |
4.9.0 | 4.9.0 |
meta |
^1.7.0 |
1.16.0 | 1.16.0 |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 |
stream_transform |
^2.0.1 |
2.1.1 | 2.1.1 |
web_socket_channel |
^2.2.0 |
2.4.0 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
aws_signature_v4 |
- | 0.6.3 | 0.6.3 |
built_collection |
- | 5.1.1 | 5.1.1 |
built_value |
- | 8.9.3 | 8.9.3 |
clock |
- | 1.1.2 | 1.1.2 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
fixnum |
- | 1.1.1 | 1.1.1 |
graphs |
- | 2.3.2 | 2.3.2 |
http |
- | 1.2.2 | 1.2.2 |
http2 |
- | 2.3.1 | 2.3.1 |
http_parser |
- | 4.1.1 | 4.1.1 |
intl |
- | 0.20.1 | 0.20.1 |
js |
- | 0.7.1 | 0.7.1 |
logging |
- | 1.3.0 | 1.3.0 |
mime |
- | 2.0.0 | 2.0.0 |
os_detect |
- | 2.0.2 | 2.0.2 |
path |
- | 1.9.1 | 1.9.1 |
retry |
- | 3.1.2 | 3.1.2 |
source_span |
- | 1.10.1 | 1.10.1 |
sprintf |
- | 7.0.0 | 7.0.0 |
stack_trace |
- | 1.12.1 | 1.12.1 |
stream_channel |
- | 2.1.3 | 2.1.3 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 4.5.1 | 4.5.1 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.2.0` on web_socket_channel does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web_socket_channel
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
, Dart 3.6.0
.
Check the analysis log for details.