quds_server 1.0.2+2
quds_server: ^1.0.2+2 copied to clipboard
A core server for creating fast dart servers with support of routers, controllers, middlewares.
We analyzed this package 2 days ago, and awarded it 110 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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
108 out of 239 API elements (45.2 %) have documentation comments.
Some symbols that are missing documentation: quds_server.ApiValidator.ApiValidator.new
, quds_server.ApiValidator.parent
, quds_server.ApiValidator.validateValue
, quds_server.AuthorizationCheckerMiddleware.AuthorizationCheckerMiddleware.new
, quds_server.BodyGeneratorMiddleware
.
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:quds_server/quds_server.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:quds_server/quds_server.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 36 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/server/server_configurations.dart:58:17
╷
58 │ bool operator ==(Object? other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/server/server_configurations.dart
INFO: The part-of directive uses a library name.
lib/authorization/token_pair.dart:1:1
╷
1 │ part of quds_server;
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/authorization/token_pair.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ansicolor |
^2.0.1 |
2.0.3 | 2.0.3 | |
args |
^2.3.0 |
2.7.0 | 2.7.0 | |
crypto |
^3.0.1 |
3.0.6 | 3.0.6 | |
dart_jsonwebtoken |
^2.3.2 |
2.17.0 | 3.2.0 | |
dart_spawner |
^1.0.5 |
1.1.0 | 1.1.0 | |
dio |
^4.0.6 |
4.0.6 | 5.8.0+1 | |
hotreloader |
^3.0.1 |
3.0.6 | 4.3.0 | |
http |
^0.13.4 |
0.13.6 | 1.3.0 | |
logging |
^1.0.2 |
1.3.0 | 1.3.0 | |
project_template |
^1.0.2 |
1.0.2 | 1.1.1 | |
redis |
^2.0.0 |
2.2.0 | 4.0.0 | |
reflection_factory |
^1.0.13 |
1.2.25 | 2.5.1 | |
resource_portable |
^3.0.0 |
3.1.1 | 3.1.2 | |
shelf |
^1.2.0 |
1.4.2 | 1.4.2 | |
shelf_router |
^1.1.1 |
1.1.4 | 1.1.4 | |
shelf_web_socket |
^1.0.3 |
1.0.4 | 3.0.0 | |
stack_trace |
^1.11.0 |
1.12.1 | 1.12.1 | |
uuid |
^3.0.5 |
3.0.7 | 4.5.1 | |
validators |
^3.0.0 |
3.0.0 | 3.0.0 | |
web_socket_channel |
^2.3.0 |
2.4.5 | 3.0.3 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 | |
yaml_writer |
^1.0.1 |
1.0.3 | 2.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 61.0.0 | 82.0.0 | |
adaptive_number |
- | 1.0.0 | 1.0.0 | |
analyzer |
- | 5.13.0 | 7.4.1 | |
archive |
- | 3.6.1 | 4.0.6 | |
async |
- | 2.13.0 | 2.13.0 | |
async_extension |
- | 1.2.14 | 1.2.14 | |
base_codecs |
- | 1.0.1 | 1.0.1 | |
build |
- | 2.4.1 | 2.4.2 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
dart_style |
- | 2.3.2 | 3.0.1 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_methods |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
meta |
- | 1.16.0 | 1.16.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vm_service |
- | 11.10.0 | 15.0.0 | |
watcher |
- | 1.1.1 | 1.1.1 | |
web |
- | 0.5.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 10 issues. Showing the first 2:
The constraint `^2.3.2` on dart_jsonwebtoken does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions dart_jsonwebtoken
to update the constraint.
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
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 2 errors:
NON_TYPE_IN_CATCH_CLAUSE
-lib/authorization/utils.dart:36:8
- The name 'JWTExpiredException' isn't a type and can't be used in an on-catch clause.NON_TYPE_IN_CATCH_CLAUSE
-lib/authorization/utils.dart:38:8
- The name 'JWTException' isn't a type and can't be used in an on-catch clause.
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.20
, Dart 3.7.2
.
Check the analysis log for details.