easy_dart_jwt 0.3.0 copy "easy_dart_jwt: ^0.3.0" to clipboard
easy_dart_jwt: ^0.3.0 copied to clipboard

A simple JWT library in Dart.

120/ 160
pub points
34
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

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: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

6 out of 7 API elements (85.7 %) have documentation comments.

Some symbols that are missing documentation: easy_dart_jwt.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:easy_dart_jwt/easy_dart_jwt.dart that imports:
  • package:basic_utils/basic_utils.dart that imports:
  • package:basic_utils/src/X509Utils.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Missing type annotation.

lib/easy_dart_jwt.dart:189:3

    ╷
189 │   _signToken(String data, PrivateKey privateKey) {
    │   ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/easy_dart_jwt.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
basic_utils ^3.6.0 3.9.4 5.8.2
convert ^3.0.0 3.1.2 3.1.2
crypto ^3.0.6 3.0.7 3.0.7
pointycastle ^3.0.0 3.9.1 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.11.0 4.11.0
logging - 1.3.0 1.3.0
meta - 1.18.1 1.18.1
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

The constraint `^3.6.0` on basic_utils does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions basic_utils 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.

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.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

A simple JWT library in Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

basic_utils, convert, crypto, pointycastle

More

Packages that depend on easy_dart_jwt