butter_api_commons 2.5.0
butter_api_commons: ^2.5.0 copied to clipboard
Common API Utilities for butter systems
We analyzed this package 2 days ago, and awarded it 120 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 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://applybutter.com was unreachable. Make sure that the website is reachable via HEAD requests.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
116 out of 252 API elements (46.0 %) have documentation comments.
Some symbols that are missing documentation: butter_api_commons, butter_api_commons.AppAuth, butter_api_commons.AppAuth.AppAuth.new, butter_api_commons.AuditUtils, butter_api_commons.AuditUtils.AuditUtils.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:butter_api_commons/butter_api_commons.dartthat imports:package:butter_api_commons/src/butter_api_commons_base.dartthat imports:package:butter_api_commons/src/utils/log_utils.dartthat imports:package:conduit_core/conduit_core.dartthat imports:package:conduit_core/src/http/http.dartthat imports:package:conduit_core/src/http/serializable.dartthat imports:package:conduit_runtime/runtime.dartthat imports:package:conduit_runtime/src/mirror_coerce.dartthat imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:butter_api_commons/butter_api_commons.dartthat imports:package:butter_api_commons/src/butter_api_commons_base.dartthat imports:package:butter_api_commons/src/utils/log_utils.dartthat imports:package:conduit_core/conduit_core.dartthat imports:package:conduit_core/src/http/http.dartthat imports:package:conduit_core/src/http/serializable.dartthat imports:package:conduit_runtime/runtime.dartthat imports:package:conduit_runtime/src/mirror_coerce.dartthat imports:dart:mirrors
Package not compatible with platform Web
Because:
package:butter_api_commons/butter_api_commons.dartthat imports:package:butter_api_commons/src/butter_api_commons_base.dartthat imports:package:butter_api_commons/src/utils/log_utils.dartthat imports:package:conduit_core/conduit_core.dartthat imports:package:conduit_core/src/http/http.dartthat imports:package:conduit_core/src/http/serializable.dartthat imports:package:conduit_runtime/runtime.dartthat imports:package:conduit_runtime/src/mirror_coerce.dartthat imports:dart:mirrors
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:butter_api_commons/butter_api_commons.dartthat imports:package:butter_api_commons/src/butter_api_commons_base.dartthat imports:package:butter_api_commons/src/utils/log_utils.dartthat imports:package:conduit_core/conduit_core.dartthat imports:package:conduit_core/src/http/http.dartthat imports:package:conduit_core/src/http/serializable.dartthat imports:package:conduit_runtime/runtime.dartthat imports:package:conduit_runtime/src/mirror_coerce.dartthat imports:dart:mirrors
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/controllers/managed_controller.dart:18:102
╷
18 │ /// When routing to a [ManagedObjectController], you must provide the following route pattern, where <name> can be any string:
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/controllers/managed_controller.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/controllers/managed_controller.dart:26:12
╷
26 │ /// - GET /<name>/:id -> Fetch Object by ID
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/controllers/managed_controller.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
butter_commons |
^2.5.0 |
2.6.0 | 2.6.0 | |
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
conduit |
^4.3.9 |
4.4.0 | 5.1.5 | |
conduit_common |
^4.3.7 |
4.4.0 | 5.1.5 | |
conduit_core |
^4.3.8 |
4.4.0 | 5.1.5 | |
conduit_open_api |
^4.3.7 |
4.4.0 | 5.1.5 | |
conduit_postgresql |
^4.3.7 |
4.4.0 | 5.1.5 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
yaml |
^3.1.1 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 61.0.0 | 92.0.0 | |
analyzer |
- | 5.13.0 | 9.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
buffer |
- | 1.2.3 | 1.2.3 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
conduit_codable |
- | 4.4.0 | 5.1.5 | |
conduit_config |
- | 4.4.0 | 5.1.5 | |
conduit_isolate_exec |
- | 4.4.0 | 5.1.5 | |
conduit_password_hash |
- | 4.4.0 | 5.1.5 | |
conduit_runtime |
- | 5.0.0 | 5.1.5 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
intl |
- | 0.19.0 | 0.20.2 | |
io |
- | 1.0.5 | 1.0.5 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pool |
- | 1.5.2 | 1.5.2 | |
postgres |
- | 2.6.4 | 3.5.9 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec |
- | 2.3.0 | 2.3.0 | Discontinued |
quiver |
- | 3.2.2 | 3.2.2 | |
recase |
- | 4.1.0 | 4.1.0 | |
sasl_scram |
- | 0.1.1 | 0.1.1 | |
saslprep |
- | 1.0.3 | 1.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
uri |
- | 1.0.0 | 1.0.0 | |
watcher |
- | 1.1.4 | 1.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^4.3.9` on conduit does not support the stable version `5.0.1`.
Try running dart pub upgrade --major-versions conduit to update the constraint.
The constraint `^4.3.7` on conduit_common does not support the stable version `5.0.1`.
Try running dart pub upgrade --major-versions conduit_common 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.24, Dart 3.9.4.
Check the analysis log for details.