vaden_security 0.0.3 copy "vaden_security: ^0.0.3" to clipboard
vaden_security: ^0.0.3 copied to clipboard

A Dart package for security-related functionalities. Vaden is a Backend Framework Using Dart.

0
likes
120/ 160
pub points
321
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

16 out of 65 API elements (24.6 %) have documentation comments.

Some symbols that are missing documentation: vaden_security.AnyRequest, vaden_security.AnyRequest.AnyRequest.new, vaden_security.AnyRequest.authenticated, vaden_security.AnyRequest.permitAll, vaden_security.AuthorizeRequest.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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:vaden_security/vaden_security.dart that imports:
  • package:vaden_security/src/vaden_security_base.dart that imports:
  • package:vaden_security/src/global_security_middleware.dart that imports:
  • package:vaden_security/src/user_details_service.dart that imports:
  • package:vaden_security/src/models/user_details.dart that imports:
  • package:vaden/vaden.dart that imports:
  • package:vaden/src/utils/storage/storage.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:vaden_security/vaden_security.dart that imports:
  • package:vaden_security/src/vaden_security_base.dart that imports:
  • package:vaden_security/src/global_security_middleware.dart that imports:
  • package:vaden_security/src/user_details_service.dart that imports:
  • package:vaden_security/src/models/user_details.dart that imports:
  • package:vaden/vaden.dart that imports:
  • package:vaden/src/utils/storage/storage.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

/tmp/pana_OKQODW/lib/src/jwt_service.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
bcrypt ^1.1.3 1.1.3 1.1.3
collection ^1.19.1 1.19.1 1.19.1
dart_jsonwebtoken ^3.2.0 3.2.0 3.2.0
vaden ^0.0.2 0.0.10 0.0.10
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
auto_injector - 2.1.0 2.1.0
cli_completion - 0.5.1 0.5.1
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ed25519_edwards - 0.3.1 0.3.1
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
freezed_annotation - 2.4.4 3.0.0
http - 1.3.0 1.3.0
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
io - 1.0.5 1.0.5
json_annotation - 4.9.0 4.9.0
lucid_validation - 1.3.1 1.3.1
mason_logger - 0.3.3 0.3.3
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
openapi_spec - 0.7.26 0.9.0
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6
pointycastle - 4.0.0 4.0.0
process - 5.0.3 5.0.3
pub_semver - 2.2.0 2.2.0
pub_updater - 0.5.0 0.5.0
recase - 4.1.0 4.1.0
shelf - 1.4.2 1.4.2
shelf_multipart - 2.0.1 2.0.1
shelf_router - 1.1.4 1.1.4
shelf_static - 1.1.3 1.1.3
shelf_swagger_ui - 2.0.0 2.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.0
yaml - 3.1.3 3.1.3

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 18 errors:

  • UNDEFINED_ANNOTATION - lib/src/auth_controller.dart:37:26 - Undefined name 'Header' used as an annotation.
  • UNDEFINED_METHOD - lib/src/auth_controller.dart:39:13 - The method 'ResponseException' isn't defined for the type 'AuthController'.
  • UNDEFINED_METHOD - lib/src/auth_controller.dart:46:13 - The method 'ResponseException' isn't defined for the type 'AuthController'.

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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

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

Publisher

unverified uploader

Weekly Downloads

A Dart package for security-related functionalities. Vaden is a Backend Framework Using Dart.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

bcrypt, collection, dart_jsonwebtoken, vaden

More

Packages that depend on vaden_security