jaspr_router 0.5.1 copy "jaspr_router: ^0.5.1" to clipboard
jaspr_router: ^0.5.1 copied to clipboard

A routing component for jaspr.

5
likes
120/ 160
pub points
87%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/schultek/jaspr/issues 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.

failed
Provide documentation
10 / 20trigger folding of the section

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

73 out of 100 API elements (73.0 %) have documentation comments.

Some symbols that are missing documentation: jaspr_router, jaspr_router.LazyRouteBase, jaspr_router.Route.Route.lazy, jaspr_router.Route.pathParams, jaspr_router.Route.pathRegex.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:jaspr_router/jaspr_router.dart that imports:
  • package:jaspr_router/src/typedefs.dart that imports:
  • package:jaspr_router/src/configuration.dart that imports:
  • package:jaspr_router/src/state.dart that imports:
  • package:jaspr_router/src/misc/inherited_router.dart that imports:
  • package:jaspr_router/src/router.dart that imports:
  • package:jaspr_router/src/route.dart that imports:
  • package:jaspr/jaspr.dart that imports:
  • package:jaspr/src/stub/run_app_stub.dart that imports:
  • package:jaspr/src/framework/framework.dart that imports:
  • package:jaspr/src/foundation/events/events.dart that imports:
  • package:jaspr/src/foundation/events/events_web.dart that imports:
  • dart:html

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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 13 issues. Showing the first 2:

/tmp/pana_BIWTRJ/lib/src/builder.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_BIWTRJ/lib/src/configuration.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
jaspr ^0.15.0 0.15.1 0.16.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
binary_codec - 2.0.3 2.0.3
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
csslib - 1.0.2 1.0.2
hotreloader - 4.2.0 4.2.0
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
shelf - 1.4.2 1.4.2
shelf_gzip - 4.1.0 4.1.0
shelf_proxy - 1.0.4 1.0.4
shelf_static - 1.1.3 1.1.3
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vm_service - 14.3.1 14.3.1
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0

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

The constraint `^0.15.0` on jaspr does not support the stable version `0.16.0`.

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

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.22.15, Dart 3.5.4.

Check the analysis log for details.