jwt_auth 0.0.1
jwt_auth: ^0.0.1 copied to clipboard
A plugin for JWT authentication
We analyzed this package 17 hours ago, and awarded it 130 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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
33 out of 145 API elements (22.8 %) have documentation comments.
Some symbols that are missing documentation: jwt_auth_api_client
, jwt_auth_api_client.JwtAuthApiClient
, jwt_auth_api_client.JwtAuthApiClient.JwtAuthApiClient.new
, jwt_auth_api_client.JwtAuthApiClient.config
, jwt_auth_api_client.JwtAuthApiClient.dio
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:jwt_auth/bloc/jwt_authentication_bloc.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:jwt_auth/bloc/jwt_authentication_bloc.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:jwt_auth/bloc/jwt_authentication_bloc.dart
that declares support for platforms:Android
,iOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Android
Because:
package:jwt_auth/jwt_auth_web.dart
that imports:package:web/web.dart
that imports:package:web/src/helpers.dart
that imports:package:web/src/helpers/http.dart
that imports:package:web/src/helpers/events/events.dart
that imports:package:web/src/helpers/events/streams.dart
that imports:package:web/src/dom.dart
that imports:package:web/src/dom/xhr.dart
that imports:package:web/src/dom/html.dart
that imports:package:web/src/dom/webidl.dart
that imports:dart:js_interop
Package not compatible with platform iOS
Because:
package:jwt_auth/jwt_auth_web.dart
that imports:package:web/web.dart
that imports:package:web/src/helpers.dart
that imports:package:web/src/helpers/http.dart
that imports:package:web/src/helpers/events/events.dart
that imports:package:web/src/helpers/events/streams.dart
that imports:package:web/src/dom.dart
that imports:package:web/src/dom/xhr.dart
that imports:package:web/src/dom/html.dart
that imports:package:web/src/dom/webidl.dart
that imports:dart:js_interop
Package not compatible with platform Web
Because:
package:jwt_auth/bloc/jwt_authentication_bloc.dart
that imports:package:jwt_auth/jwt_authentication_repository.dart
that imports:package:jwt_auth/jwt_auth_storage.dart
that imports:package:flutter_secure_storage/flutter_secure_storage.dart
that imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:jwt_auth/bloc/jwt_authentication_bloc.dart
that imports:package:jwt_auth/jwt_authentication_repository.dart
that imports:package:jwt_auth/jwt_auth_storage.dart
that imports:package:flutter_secure_storage/flutter_secure_storage.dart
that imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/jwt_auth/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
/tmp/pana_OLGBEA/lib/jwt_auth_method_channel.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_OLGBEA/lib/jwt_auth_storage.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
^5.7.0 |
5.8.0+1 | 5.8.0+1 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
flutter_bloc |
^8.1.6 |
8.1.6 | 9.1.0 | |
flutter_secure_storage |
^9.2.2 |
9.2.4 | 9.2.4 | |
http |
^1.2.2 |
1.3.0 | 1.3.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
web |
^0.5.1 |
0.5.1 | 1.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
bloc |
- | 8.1.4 | 9.0.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_secure_storage_linux |
- | 1.2.2 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
provider |
- | 6.1.4 | 6.1.4 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
win32 |
- | 5.12.0 | 5.12.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^8.1.6` on flutter_bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions flutter_bloc
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.