top_shelf 1.0.0-alpha.9 copy "top_shelf: ^1.0.0-alpha.9" to clipboard
top_shelf: ^1.0.0-alpha.9 copied to clipboard

Some helpers to ease the use of shelf

1
likes
140/ 160
pub points
35%
popularity

We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):

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

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 60 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/sakemaer/top_shelf/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: top_shelf,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

23 out of 105 API elements (21.9 %) have documentation comments.

Some symbols that are missing documentation: top_shelf, top_shelf.AAccountsRepository, top_shelf.AAccountsRepository.AAccountsRepository, top_shelf.AAccountsRepository.create, top_shelf.AAccountsRepository.findAccountByEmail.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:top_shelf/top_shelf.dart that imports:
  • package:top_shelf/src/services/common/repositories/sqlite3.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/sqlite3.g.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:top_shelf/top_shelf.dart that imports:
  • package:top_shelf/src/services/common/repositories/sqlite3.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/sqlite3.g.dart that imports:
  • dart:ffi

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.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: 'Optional' is deprecated and shouldn't be used. Generally, migrate to a nullable type.

lib/src/services/common/repositories/abstract.dart:7:12

  ╷
7 │   FutureOr<Optional<Account>> findAccountByEmail(final String email);
  │            ^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/services/common/repositories/abstract.dart

INFO: 'Optional' is deprecated and shouldn't be used. Generally, migrate to a nullable type.

lib/src/services/common/repositories/sqlite3.dart:27:3

   ╷
27 │   Optional<Account> findAccountByEmail(String email) {
   │   ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/services/common/repositories/sqlite3.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
clock ^1.1.1 1.1.1 1.1.1
crypto ^3.0.3 3.0.5 3.0.5
fake_async ^1.3.1 1.3.1 1.3.1
logging ^1.1.1 1.2.0 1.2.0
meta ^1.9.1 1.15.0 1.15.0
mime ^1.0.4 1.0.6 1.0.6
pointycastle ^3.9.1 3.9.1 3.9.1
quiver ^3.2.1 3.2.2 3.2.2
shelf ^1.4.0 1.4.2 1.4.2
shelf_multipart ^1.0.0 1.0.0 2.0.0
shelf_router ^1.1.3 1.1.4 1.1.4
sqlite3 ^2.4.3 2.4.6 2.4.6
xml ^6.2.2 6.5.0 6.5.0
xml2json ^6.2.3 6.2.3 6.2.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
collection - 1.19.0 1.19.0
convert - 3.1.1 3.1.1
ffi - 2.1.3 2.1.3
http_methods - 1.1.1 1.1.1
http_parser - 4.1.0 4.1.0
js - 0.7.1 0.7.1
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.3.2 1.3.2
web - 1.0.0 1.0.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.0.0` on shelf_multipart does not support the stable version `2.0.0`, that was published 24 days ago.

When shelf_multipart is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions shelf_multipart 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.12, Dart 3.5.2.

Check the analysis log for details.