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

130/ 160
pub points
31
downloads

We analyzed this package 7 hours ago, and awarded it 130 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.

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.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

23 out of 109 API elements (21.1 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

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

Passed check 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/memory.dart that imports:
  • package:sqlite3/src/ffi/generated/shared.dart that imports:
  • dart:ffi

Failed check 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/memory.dart that imports:
  • package:sqlite3/src/ffi/generated/shared.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.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/internal/request.dart:7:38

  ╷
7 │   /// use it before using request.get<T>()
  │                                      ^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/internal/request.dart

INFO: Angle brackets will be interpreted as HTML.

lib/src/internal/request.dart:24:37

   ╷
24 │   /// use it after using request.set<T>()
   │                                     ^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/internal/request.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
clock ^1.1.1 1.1.2 1.1.2
crypto ^3.0.3 3.0.6 3.0.6
fake_async ^1.3.1 1.3.3 1.3.3
logging ^1.1.1 1.3.0 1.3.0
meta ^1.9.1 1.17.0 1.17.0
mime ^1.0.4 1.0.6 2.0.0
pointycastle ^3.9.1 3.9.1 4.0.0
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.1
shelf_router ^1.1.3 1.1.4 1.1.4
sqlite3 ^2.4.3 2.9.1 2.9.1
xml ^6.2.2 6.6.1 6.6.1
xml2json ^6.2.3 6.2.7 6.2.7
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
ffi - 2.1.4 2.1.4
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
matcher - 0.12.17 0.12.17
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
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
web - 1.1.1 1.1.1

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

Found 3 issues. Showing the first 2:

The constraint `^1.0.4` on mime does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions mime to update the constraint.

The constraint `^3.9.1` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle 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.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
31
downloads

Publisher

verified publishersakemaer.fr

Weekly Downloads

Some helpers to ease the use of shelf

Documentation

API reference

License

MIT (license)

Dependencies

clock, crypto, fake_async, logging, meta, mime, pointycastle, quiver, shelf, shelf_multipart, shelf_router, sqlite3, xml, xml2json

More

Packages that depend on top_shelf