jwtson 1.0.7 copy "jwtson: ^1.0.7" to clipboard
jwtson: ^1.0.7 copied to clipboard

Jwtson allows you to decode/encode, verify and generate JWT. this plugin referenfe from https://jwt.io/

100/ 160
pub points
24
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/dayonaart/device_platform_info.git was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

Detected license: BSD-3-Clause.

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

6 out of 25 API elements (24.0 %) have documentation comments.

Some symbols that are missing documentation: jwtson, jwtson.Jwtson, jwtson.Jwtson.Jwtson.new, jwtson_method_channel, jwtson_method_channel.JwtResult.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:jwtson/jwtson.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:jwtson/jwtson.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:jwtson/jwtson.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:jwtson/jwtson.dart that declares support for platforms: Android, iOS.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 10 issues. Showing the first 2:

ERROR: The name 'JWTExpiredError' isn't a type and can't be used in an on-catch clause.

lib/jwtson.dart:42:10

   ╷
42 │     } on JWTExpiredError {
   │          ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/jwtson.dart

ERROR: The name 'JWTError' isn't a type and can't be used in an on-catch clause.

lib/jwtson.dart:44:10

   ╷
44 │     } on JWTError catch (ex) {
   │          ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/jwtson.dart

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

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dart_jsonwebtoken ^2.4.1 2.17.0 3.3.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
ed25519_edwards - 0.3.1 0.3.1
fixnum - 1.1.1 1.1.1
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
pointycastle - 3.9.1 4.0.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.4.1` on dart_jsonwebtoken does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions dart_jsonwebtoken to update the constraint.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
100
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

Jwtson allows you to decode/encode, verify and generate JWT. this plugin referenfe from https://jwt.io/

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dart_jsonwebtoken, flutter, plugin_platform_interface

More

Packages that depend on jwtson

Packages that implement jwtson