spark_framework 1.0.0-alpha.11
spark_framework: ^1.0.0-alpha.11 copied to clipboard
Lightweight isomorphic SSR framework for Dart with Custom Elements and Declarative Shadow DOM
We analyzed this package 37 hours ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://spark.kleak.dev was unreachable. Make sure that the website is reachable via HEAD requests.
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
972 out of 2011 API elements (48.3 %) have documentation comments.
Some symbols that are missing documentation: server.Pipeline.Pipeline.new, server.RequestClientIp, server.RequestGet, server.RequestGetPathParameter, server.RequestSet.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: The property 'defaultFile' can't be unconditionally accessed because the receiver can be 'null'.
lib/src/server/static_handler.dart:132:18
╷
132 │ if (config.defaultFile != null) {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/server/static_handler.dart
ERROR: The property 'defaultFile' can't be unconditionally accessed because the receiver can be 'null'.
lib/src/server/static_handler.dart:133:54
╷
133 │ final defaultFile = File('$fullPath/${config.defaultFile}');
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/server/static_handler.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http_parser |
^4.1.2 |
4.1.2 | 4.1.2 | |
meta |
^1.18.0 |
1.19.0 | 1.19.0 | |
mime |
^2.0.0 |
2.1.0 | 2.1.0 | |
shelf |
^1.4.2 |
1.4.2 | 1.4.2 | |
shelf_router |
^1.1.4 |
1.1.4 | 1.1.4 | |
spark_css |
^1.0.0-alpha.1 |
1.0.0-alpha.4 | 1.0.0-alpha.4 | |
spark_html_dsl |
^1.0.0-alpha.1 |
1.0.0-alpha.3 | 1.0.0-alpha.3 | |
spark_vdom |
^1.0.0-alpha.1 |
1.0.0-alpha.6 | 1.0.0-alpha.6 | |
spark_web |
^1.0.0-alpha.1 |
1.0.0-alpha.10 | 1.0.0-alpha.10 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_methods |
- | 1.1.1 | 1.1.1 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
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 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 5 errors:
UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/server/static_handler.dart:132:18- The property 'defaultFile' can't be unconditionally accessed because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/server/static_handler.dart:133:54- The property 'defaultFile' can't be unconditionally accessed because the receiver can be 'null'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/server/static_handler.dart:135:42- The argument type 'StaticHandlerConfig?' can't be assigned to the parameter type 'StaticHandlerConfig'.
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.23.19, Dart 3.13.1.
Check the analysis log for details.