ftauth_jwt 0.1.1
ftauth_jwt: ^0.1.1 copied to clipboard
A simple, robust JWT library.
We analyzed this package 2 days ago, and awarded it 90 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.
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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
35 out of 219 API elements (16.0 %) 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: ftauth_jwt.Algorithm, ftauth_jwt.AlgorithmX, ftauth_jwt.AlgorithmX.code, ftauth_jwt.AlgorithmX.fromJson, ftauth_jwt.AlgorithmX.isValid.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: The declaration '_$JsonWebKeySetFromJson' isn't referenced.
lib/src/keyset.g.dart:9:15
╷
9 │ JsonWebKeySet _$JsonWebKeySetFromJson(Map<String, dynamic> json) =>
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/keyset.g.dart
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: JsonWebToken._raw, JsonWebToken._signature
lib/src/token.dart:11:7
╷
11 │ class JsonWebToken with EquatableMixin {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/token.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
canonical_json |
^1.1.0 |
1.1.2 | 1.1.2 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
equatable |
^2.0.0 |
2.0.8 | 2.0.8 | |
json_annotation |
>=4.4.0 <4.5.0 |
4.4.0 | 4.9.0 | |
meta |
^1.7.0 |
1.17.0 | 1.17.0 | |
pointycastle |
^3.0.0 |
3.9.1 | 4.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
- | 3.1.2 | 3.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.2.0 | 0.3.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=4.4.0 <4.5.0` on json_annotation does not support the stable version `4.5.0`.
Try running dart pub upgrade --major-versions json_annotation to update the constraint.
The constraint `^3.0.0` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
URI_DOES_NOT_EXIST-lib/src/util.dart:7:8- Target of URI doesn't exist: 'package:pointycastle/src/platform_check/platform_check.dart'.UNDEFINED_IDENTIFIER-lib/src/util.dart:132:16- Undefined name 'Platform'.
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.5, Dart 3.10.7.
Check the analysis log for details.