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 12 days ago, and awarded it 125 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
803 out of 3760 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
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:optimizely_commerce_api/optimizely_commerce_api.dartthat imports:package:optimizely_commerce_api/src/utils/utils.dartthat imports:package:optimizely_commerce_api/src/utils/logger_interceptor.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
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
INFO: Angle brackets will be interpreted as HTML.
lib/src/models/cart.dart:361:38
╷
361 │ /// Gets or sets the collection of <see cref="ShipViaDto" />.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/cart.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.9.2 | 5.9.2 | |
dio_cookie_manager |
^3.1.0+1 |
3.4.0 | 3.4.0 | |
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
intl |
^0.18.1 |
0.18.1 | 0.20.2 | |
json_annotation |
^4.8.1 |
4.11.0 | 4.11.0 | |
logger |
^2.0.2+1 |
2.7.0 | 2.7.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.2 | 1.18.2 | |
mime |
- | 2.0.0 | 2.0.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 `^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.12, Dart 3.11.2.
Check the analysis log for details.