browser_routes 1.0.0-nullsafety.1 copy "browser_routes: ^1.0.0-nullsafety.1" to clipboard
browser_routes: ^1.0.0-nullsafety.1 copied to clipboard

Platformweb

General Purpose In-Browser Routing. Null safe.

125/ 160
pub points
16
downloads

We analyzed this package 23 days ago, and awarded it 125 pub points (of a possible 160):

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

Failed check 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.

Failed check 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.

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

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

Passed check 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.dart that imports:
  • package:browser_routes/src/Router.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:browser_routes/browser_routes.dart that imports:
  • package:browser_routes/src/Router.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:browser_routes/browser_routes.dart that imports:
  • package:browser_routes/src/Router.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:browser_routes/browser_routes.dart that imports:
  • package:browser_routes/src/Router.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:browser_routes/browser_routes.dart that imports:
  • package:browser_routes/src/Router.dart that imports:
  • dart:html

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:browser_routes/browser_routes.dart that imports:
  • package:browser_routes/src/Router.dart that 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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

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

Passed check 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.

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

Passed check 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.

Weekly downloads

Display as:
By versions:
1
likes
125
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

General Purpose In-Browser Routing. Null safe.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on browser_routes