fletch 2.0.1
fletch: ^2.0.1 copied to clipboard
A fast, Express-inspired HTTP framework for Dart. Build production-ready REST APIs with built-in sessions, CORS, rate limiting, and middleware support.
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
159 out of 232 API elements (68.5 %) have documentation comments.
Some symbols that are missing documentation: fletch.BaseContainer.addRoute, fletch.BaseContainer.container, fletch.BaseContainer.logger, fletch.BaseContainer.router, fletch.BaseContainer.secureCookies.
0/10 points: Package has an example and has no issues with screenshots
Found 12 issues. Showing the first 2:
-
/tmp/pana_XDUKFT/./example/fletch_example.dart: Tried interpreting screenshot as WebP withwebpinfo "/tmp/pana_XDUKFT/./example/fletch_example.dart"failed with exit code 2. -
/tmp/pana_XDUKFT/./example/fletch_example.dart: Converting screenshot withcwebp "/tmp/pana_XDUKFT/./example/fletch_example.dart" -o "/tmp/SOLBGC/gen/example/fletch_example.webp"failed with exit code 255.
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:fletch/fletch.dartthat imports:package:fletch/src/services/services.dartthat imports:package:fletch/src/services/isolated_container.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/models/request.dart:110:50
╷
110 │ /// - `application/x-www-form-urlencoded` → Map<String, String>
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/request.dart
INFO: The file name 'listRouter.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run dart analyze lib/src/router/listRouter/listRouter.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.4.2 |
2.7.0 | 2.7.0 | |
async |
^2.11.0 |
2.13.0 | 2.13.0 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
get_it |
^8.0.3 |
8.3.0 | 9.2.0 | |
http |
^1.2.2 |
1.6.0 | 1.6.0 | |
logger |
^2.5.0 |
2.6.2 | 2.6.2 | |
meta |
^1.16.0 |
1.17.0 | 1.17.0 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 | |
uri |
^1.0.0 |
1.0.0 | 1.0.0 | |
uuid |
^4.5.1 |
4.5.2 | 4.5.2 | |
xml |
^6.5.0 |
6.6.1 | 6.6.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
boolean_selector |
- | 2.1.2 | 2.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
matcher |
- | 0.12.18 | 0.12.18 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
quiver |
- | 3.2.2 | 3.2.2 | |
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.8 | 0.7.8 | |
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.
The constraint `^8.0.3` on get_it does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions get_it 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.23.3, Dart 3.10.4.
Check the analysis log for details.