shelf_modular 0.0.1 copy "shelf_modular: ^0.0.1" to clipboard
shelf_modular: ^0.0.1 copied to clipboard

outdated

Smart project structure with dependency injection and route management

34
likes
80/ 160
pub points
113
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: Apache-2.0.

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

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

0 out of 9 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: dart_modular, dart_modular.ModularApp, dart_modular.ReadMultipartRequestExtension, dart_modular.ReadMultipartRequestExtension.isMultipart, dart_modular.ReadMultipartRequestExtension.parts.

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 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:shelf_modular/shelf_modular.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 21 issues. Showing the first 2:

ERROR: Classes can only extend other classes.

bin/server.dart:29:25

   ╷
29 │ class AppModule extends Module {
   │                         ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/server.dart

ERROR: Undefined class 'Module'.

lib/shelf_modular.dart:13:30

   ╷
13 │ Handler ModularApp({required Module module}) {
   │                              ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/shelf_modular.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
args ^2.0.0 2.7.0 2.7.0
http_parser ^4.0.0 4.1.2 4.1.2
mime ^1.0.0 1.0.6 2.0.0
modular_core >=0.0.3 <=1.0.0 1.0.0 3.3.3
shelf ^1.1.0 1.4.2 1.4.2
shelf_hotreload ^0.0.2 0.0.2 1.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
hotreloader - 3.0.6 4.3.0
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
modular_interfaces - 1.0.4 3.0.0
path - 1.9.1 1.9.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
stream_transform - 2.1.1 2.1.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
vm_service - 11.10.0 15.0.0
watcher - 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.0` 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 `>=0.0.3 <=1.0.0` on modular_core does not support the stable version `1.0.0+1`.

Try running dart pub upgrade --major-versions modular_core 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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
34
likes
80
points
113
downloads

Publisher

unverified uploader

Weekly Downloads

Smart project structure with dependency injection and route management

Repository (GitHub)
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, http_parser, mime, modular_core, shelf, shelf_hotreload

More

Packages that depend on shelf_modular