darto 1.1.0
darto: ^1.1.0 copied to clipboard
Darto is a microframework inspired by Express and Hono for building web applications in Dart.
We analyzed this package 7 hours ago, and awarded it 140 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
105 out of 316 API elements (33.2 %) have documentation comments.
Some symbols that are missing documentation: api_key_auth, basic_auth, basic_auth.basicAuth, bearer_auth, bearer_auth.BearerAuthErrorOptions.BearerAuthErrorOptions.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:darto/darto.dartthat imports:package:darto/src/core/darto_response.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/core/darto_response.dart:109:7
╷
109 │ return v.map((k, val) => MapEntry(k.toString(), _encode(val)));
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/darto_response.dart
INFO: Statements in a for should be enclosed in a block.
lib/src/core/request.dart:107:37
╷
107 │ await for (final chunk in _req) b.add(chunk);
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/request.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.12, Dart 3.12.0.
Check the analysis log for details.