routed 0.2.0 copy "routed: ^0.2.0" to clipboard
routed: ^0.2.0 copied to clipboard

A modular HTTP engine and routing framework for Dart with middleware, configuration, sessions, and observability built in.

55/ 160
pub points
10
downloads

We analyzed this package 6 hours ago, and awarded it 55 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

No `README.md` found.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting routed... Discovering libraries... ERR: dartdoc 9.0.0 (/tmp/analyzerKGOFRD/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.7.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/pana_GUSXTC/lib/src/storage'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:198:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:281:22)

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:routed/routed.dart that imports:
  • package:routed/src/websocket/websocket_handler.dart that imports:
  • package:routed/src/context/context.dart that imports:
  • package:routed/middlewares.dart that imports:
  • package:routed/src/router/types.dart that imports:
  • package:routed/src/response.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 60 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'src/storage/storage_drivers.dart'.

lib/drivers.dart:18:8

   ╷
18 │ export 'src/storage/storage_drivers.dart'
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/drivers.dart

ERROR: Target of URI doesn't exist: 'src/storage/storage_manager.dart'.

lib/routed.dart:109:8

    ╷
109 │ export 'src/storage/storage_manager.dart';
    │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/routed.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Partially passed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
acanthis ^1.4.5 1.5.1 1.5.1
collection ^1.19.1 1.19.1 1.19.1
contextual ^2.0.0 2.1.0 2.1.0
crypto ^3.0.6 3.0.7 3.0.7
dartastic_opentelemetry ^0.9.3 0.9.3 0.9.3
dartastic_opentelemetry_api ^0.8.8 0.8.8 0.9.0
decimal ^3.2.4 3.2.4 3.2.4
dotenv ^4.2.0 4.2.0 4.2.0
encrypt ^5.0.3 5.0.3 5.0.3
es_compression ^2.0.15 2.0.15 2.0.15
event_bus ^2.0.1 2.0.1 2.0.1
file ^7.0.1 7.0.1 7.0.1
file_cloud ^0.1.0 0.1.0 0.1.0
fuzzywuzzy ^1.2.0 1.2.0 1.2.0
http ^1.5.0 1.6.0 1.6.0
http2 ^2.3.1 2.3.1 2.3.1
http_parser ^4.1.2 4.1.2 4.1.2
image ^4.5.4 4.7.2 4.7.2
intl ^0.20.2 0.20.2 0.20.2
jose ^0.3.5 0.3.5 0.3.5
json2yaml ^3.0.1 3.0.1 3.0.1
json_annotation ^4.9.0 4.9.0 4.9.0
liquify ^1.3.0 1.4.1 1.4.2
meta ^1.17.0 1.17.0 1.17.0
mime ^2.0.0 2.0.0 2.0.0
mustache_template ^2.0.1 2.0.3 2.0.3
path ^1.9.1 1.9.1 1.9.1
redis ^3.1.0 3.1.0 4.0.0
shelf ^1.4.2 1.4.2 1.4.2
stack_trace ^1.12.1 1.12.1 1.12.1
storage_fs ^0.1.0 0.1.0 0.1.0
timezone ^0.10.1 0.10.1 0.11.0
uuid ^4.5.1 4.5.2 4.5.2
xml ^6.6.1 6.6.1 6.6.1
yaml ^3.1.3 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
ansicolor - 2.0.3 2.0.3
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto_keys - 0.3.0+1 0.3.0+2
csslib - 1.0.2 1.0.2
dart_mappable - 4.6.1 4.6.1
email_validator - 3.0.0 3.0.0
ffi - 2.1.5 2.1.5
fixnum - 1.1.1 1.1.1
gato - 0.0.5+1 0.0.5+1
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.0.0 2.0.0
grpc - 4.2.0 5.1.0
html - 0.15.6 0.15.6
html_unescape - 2.0.0 2.0.0
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
minio - 3.5.8 3.5.8
nanoid2 - 2.0.1 2.0.1
openapi_types - 2.0.1 2.0.1
petitparser - 7.0.1 7.0.1
pointycastle - 3.9.1 4.0.0
posix - 6.0.3 6.0.3
protobuf - 4.2.0 6.0.0
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
source_span - 1.10.1 1.10.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
type_plus - 2.1.1 2.1.1
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
web - 1.1.1 1.1.1
x509 - 0.2.4+3 0.2.4+3
yaml_writer - 2.1.0 2.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^0.8.8` on dartastic_opentelemetry_api does not support the stable version `0.9.0`, that was published 24 days ago.

When dartastic_opentelemetry_api is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions dartastic_opentelemetry_api to update the constraint.

The constraint `^3.1.0` on redis does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions redis to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 58 errors:

  • URI_DOES_NOT_EXIST - lib/drivers.dart:18:8 - Target of URI doesn't exist: 'src/storage/storage_drivers.dart'.
  • URI_DOES_NOT_EXIST - lib/routed.dart:109:8 - Target of URI doesn't exist: 'src/storage/storage_manager.dart'.
  • URI_DOES_NOT_EXIST - lib/src/engine/providers/static_assets.dart:15:8 - Target of URI doesn't exist: 'package:routed/src/storage/local_storage_driver.dart'.

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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
55
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

A modular HTTP engine and routing framework for Dart with middleware, configuration, sessions, and observability built in.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

acanthis, collection, contextual, crypto, dartastic_opentelemetry, dartastic_opentelemetry_api, decimal, dotenv, encrypt, es_compression, event_bus, file, file_cloud, fuzzywuzzy, http, http2, http_parser, image, intl, jose, json2yaml, json_annotation, liquify, meta, mime, mustache_template, path, redis, shelf, stack_trace, storage_fs, timezone, uuid, xml, yaml

More

Packages that depend on routed