jetleaf_web 2.0.0
jetleaf_web: ^2.0.0 copied to clipboard
Web context for Jetleaf — provides HTTP, routing, and client-server helpers.
We analyzed this package 2 days ago, and awarded it 150 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: BSD-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
3565 out of 3637 API elements (98.0 %) have documentation comments.
Some symbols that are missing documentation: jetleaf_web.AbstractMultipartParser.AbstractMultipartParser.new, jetleaf_web.ConditionalStatement.condition, jetleaf_web.ConfigurableWebEnvironment.ConfigurableWebEnvironment.new, jetleaf_web.ContentDispositionBuilder.ContentDispositionBuilder.new, jetleaf_web.ContentNegotiationAutoConfiguration.ContentNegotiationAutoConfiguration.new.
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:jetleaf_web/jetleaf_web.dartthat imports:package:jetleaf_web/jetson.dartthat imports:package:jetson/jetson.dartthat imports:package:jetson/src/jetson_utils.dartthat imports:package:jetson/src/annotations.dartthat imports:package:jetleaf_core/lang.dartthat imports:package:jetleaf_core/src/lang/system/system_detector.dartthat imports:package:jetleaf_core/src/lang/system/system.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 29 issues. Showing the first 2:
INFO: The variable name 'WEB_APPLICATION_ATTRIBUTE_NAME' isn't a lowerCamelCase identifier.
lib/src/context/server_context.dart:96:17
╷
96 │ static String WEB_APPLICATION_ATTRIBUTE_NAME = "${Class<WebApplicationContext>(null, PackageNames.WEB).getName()}.attribute";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/context/server_context.dart
INFO: The variable name 'WEB_ENVIRONMENT_PROPERTY_SOURCE_NAME' isn't a lowerCamelCase identifier.
lib/src/env/standard_web_environment.dart:56:23
╷
56 │ static final String WEB_ENVIRONMENT_PROPERTY_SOURCE_NAME = 'webEnvironment';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/env/standard_web_environment.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
jetleaf_core |
^2.0.1 |
2.0.1 | 2.0.1 | |
jetson |
^2.0.1 |
2.0.1 | 2.0.1 | |
jtl |
^2.0.0 |
2.0.0 | 2.0.0 | |
meta |
^1.18.0 |
1.19.0 | 1.19.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
intl |
- | 0.20.3 | 0.20.3 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
yaml |
- | 3.1.4 | 3.1.4 |
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.19, Dart 3.14.0.
Check the analysis log for details.