m4d_router 0.2.18 icon indicating copy to clipboard operation
m4d_router: ^0.2.18 copied to clipboard

Platformweb

A browser routing library for Dart

0
likes
60/ 130
pub points
35%
popularity

We analyzed this package 5 days ago, and awarded it 60 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
0 / 20icon to trigger 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.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:13:10

   ╷
13 │ <p>Live: <a href="http://m4d_router.example.mikemitterer.at/">m4d_router.example.mikemitterer.at</a><br />
   │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

0/5 points: Provide a valid CHANGELOG.md

Links in `CHANGELOG.md` should be secure. 2 links are insecure.

CHANGELOG.md:3:5

  ╷
3 │ <h2><a href="http://github.com/mikemitterer/m4d_router/compare/v0.2...HEAD">Unreleased</a></h2>
  │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 21 out of 56 API elements (37.5 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:m4d_router/browser.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:m4d_router/browser.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:m4d_router/browser.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:m4d_router/browser.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:m4d_router/browser.dart that imports:
  • dart:html
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 13 issues. Showing the first 2:

INFO: Prefer generic function type aliases.

lib/browser.dart:21:9

   ╷
21 │ typedef Handler(final String path);
   │         ^^^^^^^
   ╵

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

INFO: Prefer generic function type aliases.

lib/browser.dart:23:14

   ╷
23 │ typedef void EventHandler(final Event e);
   │              ^^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
logging>=0.11.3 <1.0.00.11.41.0.2
uri^0.11.00.11.41.0.0
validate^1.0.01.7.01.7.0
Transitive dependencies
PackageConstraintCompatibleLatest
matcher-0.12.120.12.12
meta-1.8.01.8.0
path-1.8.21.8.2
quiver-2.1.53.1.0
stack_trace-1.10.01.10.0

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

The constraint `>=0.11.3 <1.0.0` on logging does not support the stable version `1.0.0`.

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

The constraint `^0.11.0` on uri does not support the stable version `1.0.0`.

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.0.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.13, Dart 2.17.5.

0
likes
60
pub points
35%
popularity

Publisher

unverified uploader

A browser routing library for Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

logging, uri, validate

More

Packages that depend on m4d_router