browser_routes 1.0.0-nullsafety.1
browser_routes: ^1.0.0-nullsafety.1 copied to clipboard
General Purpose In-Browser Routing. Null safe.
We analyzed this package 23 days ago, and awarded it 125 pub points (of a possible 160):
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 50 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:41:16
╷
41 │ <p>Navigate to <a href="http://localhost:8080/#/hello/Brian">localhost:8080/#/hello/Brian</a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
25 out of 53 API elements (47.2 %) have documentation comments.
Some symbols that are missing documentation: browser_routes, browser_routes.HashRouter.HashRouter.new, browser_routes.HashRouter.HashRouter.test, browser_routes.HashRouter.root, browser_routes.IterableFreedom.
10/10 points: Package has an example
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:browser_routes/browser_routes.dartthat imports:package:browser_routes/src/Router.dartthat imports:dart:html
Package not compatible with platform iOS
Because:
package:browser_routes/browser_routes.dartthat imports:package:browser_routes/src/Router.dartthat imports:dart:html
Package not compatible with platform Windows
Because:
package:browser_routes/browser_routes.dartthat imports:package:browser_routes/src/Router.dartthat imports:dart:html
Package not compatible with platform Linux
Because:
package:browser_routes/browser_routes.dartthat imports:package:browser_routes/src/Router.dartthat imports:dart:html
Package not compatible with platform macOS
Because:
package:browser_routes/browser_routes.dartthat imports:package:browser_routes/src/Router.dartthat imports:dart:html
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:browser_routes/browser_routes.dartthat imports:package:browser_routes/src/Router.dartthat 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/src/Router.dart:441:11
╷
441 │ if (last is _SegmentTemplate){
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/Router.dart
INFO: The file name 'Router.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run dart analyze lib/src/Router.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.23.3, Dart 3.10.4.
Check the analysis log for details.