m4d_router 0.2.18
m4d_router: ^0.2.18 copied to clipboard
A browser routing library for Dart
We analyzed this package 5 days ago, and awarded it 60 pub points (of a possible 130):
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.
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.
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
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
logging | >=0.11.3 <1.0.0 | 0.11.4 | 1.0.2 |
uri | ^0.11.0 | 0.11.4 | 1.0.0 |
validate | ^1.0.0 | 1.7.0 | 1.7.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
matcher | - | 0.12.12 | 0.12.12 |
meta | - | 1.8.0 | 1.8.0 |
path | - | 1.8.2 | 1.8.2 |
quiver | - | 2.1.5 | 3.1.0 |
stack_trace | - | 1.10.0 | 1.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
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
.