ssr_router 0.1.0 copy "ssr_router: ^0.1.0" to clipboard
ssr_router: ^0.1.0 copied to clipboard

File-based routing for SSR Framework - Automatic route discovery from file structure

60/ 160
pub points
62
downloads

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

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

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

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

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
10 / 20trigger folding of the section

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

9 out of 12 API elements (75.0 %) have documentation comments.

Some symbols that are missing documentation: ssr_router.FileRouter.FileRouter.new, ssr_router.FileRouter.pagesDir, ssr_router.RouteRegistry.RouteRegistry.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

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

ERROR: Expected an identifier.

lib/src/file_router.dart:45:50

   ╷
45 │             .replaceAll(RegExp(r'\[(\w+)\]'), ':$1'))
   │                                                  ^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
path ^1.9.0 1.9.1 1.9.1
ssr_core ^0.1.0 0.1.0 0.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
meta - 1.19.0 1.19.0

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

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 1 error:

  • MISSING_IDENTIFIER - lib/src/file_router.dart:45:50 - Expected an identifier.

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.15, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
62
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

File-based routing for SSR Framework - Automatic route discovery from file structure

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

path, ssr_core

More

Packages that depend on ssr_router