jaguar_jwt 2.1.6
jaguar_jwt: ^2.1.6 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

Provides JWT utilities for Dart including issuing a token, verifing a token and parsing a token.

20
likes
90 / 110
pub points
93 %
popularity

We analyzed this package on Feb 25, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 40 out of 40 API elements (100.0 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 19 issues. Showing the first 2:

INFO: Use `=` to separate a named parameter from its default value.

lib/src/claim.dart:76:20

   ╷
76 │       this.audience: const [],
   │                    ^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/claim.dart

INFO: DO use curly braces for all flow control structures.

lib/src/claim.dart:342:7

    ╷
342 │       return pld as Map<String, Object>;
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/claim.dart

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
auth_header^2.1.12.1.42.1.4
crypto^2.0.52.1.53.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.2.0
collection-1.14.131.15.0
convert-2.1.13.0.0
typed_data-1.2.01.3.0

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

The constraint `^2.0.5` on crypto does not support the latest published version `3.0.0`

pubspec.yaml:16:11

   ╷
16 │   crypto: ^2.0.5
   │           ^^^^^^
   ╵

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analysed with Pana 0.14.10, Dart 2.10.5.

20
likes
90
pub points
93%
popularity

Provides JWT utilities for Dart including issuing a token, verifing a token and parsing a token.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

segaud.kevin@gmail.com
tejainece@gmail.com

License

BSD (LICENSE)

Dependencies

auth_header, crypto

More

Packages that depend on jaguar_jwt