shelf_modular 3.0.0-alpha.4 copy "shelf_modular: ^3.0.0-alpha.4" to clipboard
shelf_modular: ^3.0.0-alpha.4 copied to clipboard

Smart project structure with dependency injection and route management

125/ 160
pub points
44
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("3.0.0-alpha.4").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

50 out of 121 API elements (41.3 %) have documentation comments.

Some symbols that are missing documentation: dart_modular, dart_modular.AutoInjector.addBind, dart_modular.Bind, dart_modular.Bind.Bind.empty, dart_modular.Bind.Bind.new.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

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

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

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

Found 192 issues. Showing the first 2:

WARNING: The library 'package:modular_core/modular_core.dart' doesn't export a member with the shown name 'AutoBind'.

lib/shelf_modular.dart:13:9

   ╷
13 │         AutoBind,
   │         ^^^^^^^^
   ╵

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

INFO: Missing documentation for a public member.

lib/src/domain/dtos/route_dto.dart:1:7

  ╷
1 │ class RouteParmsDTO {
  │       ^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/domain/dtos/route_dto.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
http_parser >=4.0.1 <5.0.0 4.1.2 4.1.2
meta >=1.3.0 <2.0.0 1.17.0 1.17.0
mime >=1.0.2 <2.0.0 1.0.6 2.0.0
modular_core >=3.0.0-alpha.5 <4.0.0 3.4.1 3.4.1
result_dart >=1.0.5 <2.0.0 1.1.1 2.1.1
shelf >=1.3.0 <2.0.0 1.4.2 1.4.2
shelf_web_socket >=1.0.1 <2.0.0 1.0.4 3.0.0
web_socket_channel >=2.2.0 <3.0.0 2.4.5 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
auto_injector - 2.1.1 2.1.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
fixnum - 1.1.1 1.1.1
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
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
web - 0.5.1 1.1.1

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

Found 4 issues. Showing the first 2:

The constraint `>=1.0.2 <2.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 `>=1.0.5 <2.0.0` on result_dart does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions result_dart 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.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
34
likes
125
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

Smart project structure with dependency injection and route management

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

http_parser, meta, mime, modular_core, result_dart, shelf, shelf_web_socket, web_socket_channel

More

Packages that depend on shelf_modular