optimizely_commerce_api 0.1.0-dev.7
optimizely_commerce_api: ^0.1.0-dev.7 copied to clipboard
SDK wrapper for Optimizely (SAAS) Commerce Rest API, serving as the foundation for our customizable Flutter/Dart-based app
We analyzed this package 20 hours ago, and awarded it 75 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/InsiteSoftware/commerce-dart-sdk was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:6:1
╷
6 │ <a href="http://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/github/license/nebula-plugins/gradle-extra-configurations-plugin.svg" alt="Apache 2.0" /></a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
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
804 out of 3761 API elements (21.4 %) have documentation comments.
Some symbols that are missing documentation: optimizely_commerce_api.Account, optimizely_commerce_api.Account.Account.fromJson, optimizely_commerce_api.Account.Account.new, optimizely_commerce_api.Account.toJson, optimizely_commerce_api.AccountPaymentProfile.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
ERROR: The type 'DioExceptionType' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'DioExceptionType.transformTimeout'.
lib/src/utils/server_exception.dart:58:9
╷
58 │ switch (error.type) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/server_exception.dart
WARNING: A value for optional parameter 'sortOrderOptions' isn't ever given.
lib/src/models/enums/wish_list_line_sort_order.dart:33:10
╷
33 │ this.sortOrderOptions,
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/enums/wish_list_line_sort_order.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.2 |
1.19.1 | 1.19.1 | |
cookie_jar |
^4.0.8 |
4.0.9 | 4.0.9 | |
dio |
^5.3.2 |
5.11.1 | 5.11.1 | |
dio_cookie_manager |
^3.1.0+1 |
3.5.0 | 3.5.0 | |
equatable |
^2.0.5 |
2.1.0 | 3.0.0 | |
intl |
^0.18.1 |
0.18.1 | 0.20.3 | |
json_annotation |
^4.8.1 |
4.12.0 | 4.12.0 | |
logger |
^2.0.2+1 |
2.8.0 | 2.8.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.3.1 | 2.3.1 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.0.5` on equatable does not support the stable version `3.0.0`, that was published 0 days ago.
When equatable is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions equatable to update the constraint.
The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl 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.23.19, Dart 3.13.1.
Check the analysis log for details.