u2f 2.0.1
u2f: ^2.0.1 copied to clipboard
FIDO Universal 2nd Factor. Register a FIDO2 U2F key to your application Verify a FIDO2 U2F key assertion
We analyzed this package 5 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/DavBfr/flutter_u2f/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 60 API elements (1.7 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: hid
, hid.HidDevice
, hid.HidDevice.HidDevice.new
, hid.HidDevice.close
, hid.HidDevice.open
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:u2f/u2f.dart
that declares support for platforms:Windows
,macOS
.
Package does not support platform `iOS`.
Because:
package:u2f/u2f.dart
that declares support for platforms:Windows
,macOS
.
Package does not support platform `Linux`.
Because:
package:u2f/u2f.dart
that declares support for platforms:Windows
,macOS
.
Package does not support platform `Web`.
Because:
package:u2f/u2f.dart
that declares support for platforms:Windows
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Windows`.
Because:
package:u2f/u2f.dart
that imports:package:u2f/src/u2f/u2f.dart
that imports:package:u2f/src/u2f/u2f_nfc.dart
that imports:package:flutter_nfc_kit/flutter_nfc_kit.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:u2f/u2f.dart
that imports:package:u2f/src/u2f/u2f.dart
that imports:package:u2f/src/u2f/u2f_nfc.dart
that imports:package:flutter_nfc_kit/flutter_nfc_kit.dart
that declares support for platforms:Android
,iOS
,Web
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:u2f/u2f.dart
that imports:package:u2f/src/u2f/u2f.dart
that imports:package:u2f/src/u2f/u2f_nfc.dart
that imports:dart:io
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.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
^2.8.2 |
2.13.0 | 2.13.0 | |
cbor |
^6.1.1 |
6.3.6 | 6.3.6 | |
crypto |
^3.0.2 |
3.0.6 | 3.0.6 | |
ffi |
^2.1.0 |
2.1.4 | 2.1.4 | |
flutter_nfc_kit |
^3.3.1 |
3.6.0 | 3.6.0 | |
logging |
^1.1.0 |
1.3.0 | 1.3.0 | |
plugin_platform_interface |
^2.1.0 |
2.1.8 | 2.1.8 | |
pointycastle |
^3.6.0 |
3.9.1 | 4.0.0 | |
web |
^0.5.1 |
0.5.1 | 1.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
hex |
- | 0.2.0 | 0.2.0 | |
ieee754 |
- | 1.0.3 | 1.0.3 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
ndef |
- | 0.3.4 | 0.3.4 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.1.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.6.0` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle
to update the constraint.
The constraint `^0.5.1` on web does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions web
to update the constraint.
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.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.