prestashop_api 0.1.1
prestashop_api: ^0.1.1 copied to clipboard
A Dart package designed to simplify interaction with PrestaShop websites by providing streamlined API integration, automatic model generation, data serialization, and exception handling.
We analyzed this package 24 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
277 out of 620 API elements (44.7 %) have documentation comments.
Some symbols that are missing documentation: prestashop_api.BackgroundTransformer.BackgroundTransformer.new, prestashop_api.BaseConfig, prestashop_api.BaseConfig.BaseConfig.new, prestashop_api.BaseConfig.apiKey, prestashop_api.BaseConfig.baseUrl.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:prestashop_api/prestashop_api.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:prestashop_api/prestashop_api.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:prestashop_api/prestashop_api.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:prestashop_api/prestashop_api.dartthat imports:package:prestashop_api/src/product/model/product.dartthat imports:package:prestashop_api/src/common/shared/utils.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:prestashop_api/prestashop_api.dartthat imports:package:prestashop_api/src/product/model/product.dartthat imports:package:prestashop_api/src/common/shared/utils.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 472 issues. Showing the first 2:
WARNING: The annotation 'JsonKey.new' can only be used on fields or getters.
lib/src/category/dto/category_associations_dto.dart:15:6
╷
15 │ @JsonKey(name: 'categories', fromJson: _listOfIdDTOsFromJson)
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/category/dto/category_associations_dto.dart
WARNING: The annotation 'JsonKey.new' can only be used on fields or getters.
lib/src/category/dto/category_associations_dto.dart:17:6
╷
17 │ @JsonKey(name: 'products', fromJson: _listOfIdDTOsFromJson)
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/category/dto/category_associations_dto.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dart_code_metrics |
^5.7.6 |
5.7.6 | 5.7.6 | Discontinued |
dio |
^5.4.2+1 |
5.9.0 | 5.9.0 | |
freezed_annotation |
^2.4.1 |
2.4.4 | 3.1.0 | |
injectable |
^2.4.1 |
2.5.2 | 2.5.2 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
logger |
^2.2.0 |
2.6.2 | 2.6.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 61.0.0 | 91.0.0 | |
analyzer |
- | 5.13.0 | 8.4.0 | |
analyzer_plugin |
- | 0.11.2 | 0.13.10 | |
ansicolor |
- | 2.0.3 | 2.0.3 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dart_code_metrics_presets |
- | 1.8.0 | 2.26.1 | |
dart_style |
- | 2.3.2 | 3.1.2 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
file |
- | 6.1.4 | 7.0.1 | |
get_it |
- | 8.2.0 | 8.2.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 0.13.6 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
process |
- | 4.2.4 | 5.0.5 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pub_updater |
- | 0.3.0 | 0.5.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 | |
uuid |
- | 3.0.7 | 4.5.1 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- dart_code_metrics.
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.24, Dart 3.9.4.
Check the analysis log for details.