butter_api_commons 2.6.0 copy "butter_api_commons: ^2.6.0" to clipboard
butter_api_commons: ^2.6.0 copied to clipboard

Common API Utilities for butter systems

120/ 160
pub points
63
downloads

We analyzed this package 35 hours ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:butter_api_commons/src/butter_api_commons_base.dart that imports:
  • package:butter_api_commons/src/utils/log_utils.dart that imports:
  • package:conduit_core/conduit_core.dart that imports:
  • package:conduit_core/src/http/http.dart that imports:
  • package:conduit_core/src/http/serializable.dart that imports:
  • package:conduit_runtime/runtime.dart that imports:
  • package:conduit_runtime/src/mirror_coerce.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:butter_api_commons/butter_api_commons.dart that imports:
  • package:butter_api_commons/src/butter_api_commons_base.dart that imports:
  • package:butter_api_commons/src/utils/log_utils.dart that imports:
  • package:conduit_core/conduit_core.dart that imports:
  • package:conduit_core/src/http/http.dart that imports:
  • package:conduit_core/src/http/serializable.dart that imports:
  • package:conduit_runtime/runtime.dart that imports:
  • package:conduit_runtime/src/mirror_coerce.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:butter_api_commons/butter_api_commons.dart that imports:
  • package:butter_api_commons/src/butter_api_commons_base.dart that imports:
  • package:butter_api_commons/src/utils/log_utils.dart that imports:
  • package:conduit_core/conduit_core.dart that imports:
  • package:conduit_core/src/http/http.dart that imports:
  • package:conduit_core/src/http/serializable.dart that imports:
  • package:conduit_runtime/runtime.dart that imports:
  • package:conduit_runtime/src/mirror_coerce.dart that imports:
  • dart:mirrors

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:butter_api_commons/butter_api_commons.dart that imports:
  • package:butter_api_commons/src/butter_api_commons_base.dart that imports:
  • package:butter_api_commons/src/utils/log_utils.dart that imports:
  • package:conduit_core/conduit_core.dart that imports:
  • package:conduit_core/src/http/http.dart that imports:
  • package:conduit_core/src/http/serializable.dart that imports:
  • package:conduit_runtime/runtime.dart that imports:
  • package:conduit_runtime/src/mirror_coerce.dart that 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
butter_commons ^2.6.0 2.6.0 2.6.0
collection ^1.18.0 1.19.1 1.19.1
conduit ^4.4.0 4.4.0 5.1.5
conduit_common ^4.4.0 4.4.0 5.1.5
conduit_core ^4.4.0 4.4.0 5.1.5
conduit_open_api ^4.4.0 4.4.0 5.1.5
conduit_postgresql ^4.4.0 4.4.0 5.1.5
path ^1.9.0 1.9.1 1.9.1
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 61.0.0 91.0.0
analyzer - 5.13.0 8.4.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.8
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.4.0` 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.4.0` 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions: