ftauth_jwt 0.1.1 copy "ftauth_jwt: ^0.1.1" to clipboard
ftauth_jwt: ^0.1.1 copied to clipboard

A simple, robust JWT library.

0
likes
100/ 160
pub points
0%
popularity

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

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

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 60 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/ftauth/sdk-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

OK
Platform support
20 / 20trigger folding of the section

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.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
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.5 2.0.5
json_annotation >=4.4.0 <4.5.0 4.4.0 4.9.0
meta ^1.7.0 1.16.0 1.16.0
pointycastle ^3.0.0 3.9.1 3.9.1
Transitive dependencies
Package Constraint Compatible Latest
convert - 3.1.2 3.1.2
js - 0.7.1 0.7.1
typed_data - 1.4.0 1.4.0
unorm_dart - 0.2.0 0.3.0

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.

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.22.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
100
pub points
0%
popularity

Publisher

unverified uploader

A simple, robust JWT library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

canonical_json, collection, equatable, json_annotation, meta, pointycastle

More

Packages that depend on ftauth_jwt