dart_secure 0.6.6 copy "dart_secure: ^0.6.6" to clipboard
dart_secure: ^0.6.6 copied to clipboard

A Dart package that provides functionalities to enhance the security of Dart applications; integration of multiple cybersecurity practices to secure user interactions.

135/ 160
pub points
166
downloads

We analyzed this package 10 hours ago, and awarded it 135 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.6.6").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected licenses: Apache-2.0, BSD-2-Clause, MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

11 out of 17 API elements (64.7 %) have documentation comments.

Some symbols that are missing documentation: dart_secure, dart_secure.AuthenticationStatus, dart_secure.userAuthMonitor, server_down_page, server_down_page.ServerDownPage.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:dart_secure/dart_secure.dart that imports:
  • package:dart_secure/src/user_auth_monitor.dart that imports:
  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:dart_secure/dart_secure.dart that imports:
  • package:dart_secure/src/biometric_auth.dart that imports:
  • package:local_auth/local_auth.dart that declares support for platforms: Android, iOS, Windows, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:dart_secure/dart_secure.dart that imports:
  • package:dart_secure/src/biometric_auth.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:dart_secure/dart_secure.dart that imports:
  • package:dart_secure/src/biometric_auth.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:dart_secure/dart_secure.dart that imports:
  • package:dart_secure/src/biometric_auth.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:dart_secure/dart_secure.dart that imports:
  • package:dart_secure/src/biometric_auth.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_secure/dart_secure.dart that imports:
  • package:dart_secure/src/biometric_auth.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.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.cn/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

Found 9 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/biometric_auth.dart:63:44

   ╷
63 │ Future<AuthenticationStatus> _checkBioAuth(userBiometricOnly, userStickyAuth,
   │                                            ^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Missing type annotation.

lib/src/biometric_auth.dart:63:63

   ╷
63 │ Future<AuthenticationStatus> _checkBioAuth(userBiometricOnly, userStickyAuth,
   │                                                               ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/biometric_auth.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
crypto ^3.0.6 3.0.7 3.0.7
encrypt ^5.0.1 5.0.3 5.0.3
firebase_auth ^5.7.0 5.7.0 6.1.2
firebase_core ^3.12.0 3.15.2 4.2.1
http ^1.5.0 1.6.0 1.6.0
local_auth ^2.1.6 2.3.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.59 1.3.64
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
fake_async - 1.3.3 1.3.3
firebase_auth_platform_interface - 7.7.3 8.1.4
firebase_auth_web - 5.15.3 6.1.0
firebase_core_platform_interface - 6.0.2 6.0.2
firebase_core_web - 2.24.1 3.3.0
flutter_plugin_android_lifecycle - 2.0.32 2.0.32
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
local_auth_android - 1.0.56 2.0.2
local_auth_darwin - 1.6.1 2.0.1
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
source_span - 1.10.1 1.10.1
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
test_api - 0.7.7 0.7.8
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1

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

Found 3 issues. Showing the first 2:

The constraint `^5.7.0` on firebase_auth does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions firebase_auth to update the constraint.

The constraint `^3.12.0` on firebase_core does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions firebase_core 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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
135
points
166
downloads

Publisher

verified publishersaifalmajd.blogspot.com

Weekly Downloads

A Dart package that provides functionalities to enhance the security of Dart applications; integration of multiple cybersecurity practices to secure user interactions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0, BSD-2-Clause, MIT (license)

Dependencies

crypto, encrypt, firebase_auth, firebase_core, flutter, http, local_auth

More

Packages that depend on dart_secure