squarealfa_security 1.0.5 copy "squarealfa_security: ^1.0.5" to clipboard
squarealfa_security: ^1.0.5 copied to clipboard

Package containing security-related features, like JWT token handling and password hashing.

2
likes
140/ 160
pub points
53%
popularity

We analyzed this package 3 days ago, and awarded it 140 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

Homepage URL doesn't exist.

At the time of the analysis https://github.com/squarealfa/dart_framework/tree/main/security was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: squarealfa_security,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

10 out of 25 API elements (40.0 %) have documentation comments.

Some symbols that are missing documentation: security.JwtPayload.CopyWith, security.JwtPayload.JwtPayload.fromMap, security.JwtPayload.audience, security.JwtPayload.claimsMap, security.JwtPayload.expires.

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 variable name 'CopyWith' isn't a lowerCamelCase identifier.

lib/src/jwt_payload.dart:79:14

   ╷
79 │   JwtPayload CopyWith({
   │              ^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
crypto ^3.0.0 3.0.6 3.0.6
cryptography ^2.0.1 2.7.0 2.7.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
ffi - 2.1.3 2.1.3
js - 0.6.7 0.7.1
meta - 1.16.0 1.16.0
typed_data - 1.4.0 1.4.0

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

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

Check the analysis log for details.

2
likes
140
pub points
53%
popularity

Publisher

verified publishersquarealfa.com

Package containing security-related features, like JWT token handling and password hashing.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, cryptography

More

Packages that depend on squarealfa_security