shelf_serve_mvc 1.0.0-dev.2 shelf_serve_mvc: ^1.0.0-dev.2 copied to clipboard
A simple MVC framework for shelf.
We analyzed this package 7 days ago, and awarded it 110 pub points (of a possible 160):
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.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
178 out of 274 API elements (65.0 %) have documentation comments.
Some symbols that are missing documentation: shelf_serve_mvc.HttpDelete
, shelf_serve_mvc.HttpDelete.HttpDelete
, shelf_serve_mvc.HttpGet
, shelf_serve_mvc.HttpGet.HttpGet
, shelf_serve_mvc.HttpHead
.
10/10 points: Package has an example
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_serve_mvc/shelf_serve_mvc.dart
that imports:package:shelf/shelf_io.dart
that imports:package:shelf/src/io_server.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:shelf_serve_mvc/shelf_serve_mvc.dart
that imports:package:shelf/shelf_io.dart
that imports:package:shelf/src/io_server.dart
that imports:dart:io
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
INFO: Implicit tear-off of the 'call' method.
lib/src/internal/builder.dart:83:32
╷
83 │ return pipeline.addHandler(router);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/internal/builder.dart
INFO: Use 'TypeName _' instead of a type literal.
lib/src/internal/request/field_parser.dart:60:7
╷
60 │ String => MvcRequestFieldParseResult<T>(value: fieldData.toString() as T),
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/internal/request/field_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dart_dependency_injection |
^1.0.1+10 |
1.1.3+2 | 1.1.3+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.0 |
1.1.4 | 1.1.4 |
shelf_web_socket |
^1.0.4 |
1.0.4 | 2.0.0 |
web_socket_channel |
^2.4.0 |
2.4.5 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
collection |
- | 1.19.1 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
http_methods |
- | 1.1.1 | 1.1.1 |
http_parser |
- | 4.1.1 | 4.1.1 |
meta |
- | 1.16.0 | 1.16.0 |
mime |
- | 1.0.6 | 2.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 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 0.5.1 | 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 shelf_multipart does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions shelf_multipart
to update the constraint.
The constraint `^1.0.4` on shelf_web_socket does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions shelf_web_socket
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
TYPE_ARGUMENT_NOT_MATCHING_BOUNDS
-lib/src/request/request.dart:6:70
- 'T' doesn't conform to the bound 'Object' of the type parameter 'T'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.