browser_detect 1.0.4
browser_detect: ^1.0.4 copied to clipboard
A library that provides information about the user's web browser.
We analyzed this package 16 days ago, and awarded it 5 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Homepage URL is insecure.
Update the homepage field and use a secure (https) URL.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:2:132
╷
2 │ <p>A package that detects the browser being used to view a web page. Useful for blanket browser detection. If possible, try to use <a href="http://www.html5rocks.com/en/tutorials/detection/#feature-detection">feature detection</a> over this approach.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
5/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause-Views.
The following license are not OSI-approved: `BSD-2-Clause-Views`.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
Dependency resolution failed, unable to run dartdoc.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run dart pub get for more information.
0/50 points: code has no errors, warnings, lints, or formatting issues
- Running
dart pub outdatedfailed with the following output:
pubspec.yaml has no lower-bound SDK constraint.
You should edit pubspec.yaml to contain an SDK constraint:
0/10 points: All of the package dependencies are supported in the latest version
- Sdk constraint doesn't support current Dart version 3.10.4. Cannot run
dart pub outdated.
0/10 points: Package supports latest stable Dart and Flutter SDKs
Pubspec.yaml does not have an sdk version constraint.
Try adding an sdk constraint to your pubspec.yaml
0/20 points: Compatible with dependency constraint lower bounds
dart pub downgrade failed with:
OUT:
Resolving dependencies...
ERR:
pubspec.yaml has no lower-bound SDK constraint.
You should edit pubspec.yaml to contain an SDK constraint:
environment:
sdk: '^3.10.0'
See https://dart.dev/go/sdk-constraint
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Dart 3.10.4.
Check the analysis log for details.