m4d_router 0.2.18
m4d_router: ^0.2.18 copied to clipboard
A browser routing library for Dart
We analyzed this package on Feb 25, 2021, and awarded it 50 pub points (of a possible 110):
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.
10/20 points: Supports 1 of 2 possible platforms (native, js)
Consider supporting multiple platforms:
Package not compatible with runtime native
Because:
package:m4d_router/browser.dart
that imports:dart:html
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 50 issues. Showing the first 2:
INFO: Unnecessary new keyword.
lib/browser.dart:25:17
╷
25 │ final _logger = new Logger('m4d_router.browser');
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/browser.dart
INFO: Unnecessary new keyword.
lib/browser.dart:40:21
╷
40 │ final _logger = new Logger('m4d_router.browser.router');
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer 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.0 |
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.9 | 0.12.10 |
meta | - | 1.2.4 | 1.3.0 |
quiver | - | 2.1.5 | 3.0.0 |
stack_trace | - | 1.9.6 | 1.10.0 |
To reproduce run 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 latest published version `1.0.0`
pubspec.yaml:11:12
╷
11 │ logging: '>=0.11.3 <1.0.0'
│ ^^^^^^^^^^^^^^^^^
╵
The constraint `^0.11.0` on uri does not support the latest published version `1.0.0`
pubspec.yaml:13:8
╷
13 │ uri: "^0.11.0"
│ ^^^^^^^^^
╵
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.14.10
,
Dart 2.10.5
.