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
72%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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

failed
Provide documentation
0 / 20trigger folding of the section

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.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:shelf_modular/shelf_modular.dart that imports:
  • dart:io

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 22 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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
args ^2.0.0 2.6.0 2.6.0
http_parser ^4.0.0 4.1.1 4.1.1
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
async - 2.12.0 2.12.0
characters - 1.3.1 1.3.1
collection - 1.19.1 1.19.1
hotreloader - 3.0.6 4.2.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.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vm_service - 11.10.0 14.3.1
watcher - 1.1.0 1.1.0

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.

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.15, Dart 3.5.4.

Check the analysis log for details.

34
likes
80
pub points
72%
popularity

Publisher

unverified uploader

Smart project structure with dependency injection and route management

Repository (GitHub)
View/report issues
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