authmiddleware 1.0.2 copy "authmiddleware: ^1.0.2" to clipboard
authmiddleware: ^1.0.2 copied to clipboard

Fully managed Auth Middleware

0
likes
120/ 160
pub points
54
downloads

We analyzed this package 41 hours 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
0 / 20trigger folding of the section

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

OUT: Documenting authmiddleware... Discovering libraries... Linking elements... Precaching local docs for 1182891 elements... Initialized dartdoc with 1096 libraries Generating docs for library authmiddleware_package.dart from package:authmiddleware/authmiddleware_package.dart... Generating docs for library authmiddleware.dart from package:authmiddleware/authmiddleware.dart... Documented 2 public libraries in 65.6 seconds ERR: warning: authmiddleware has no library level documentation comments from authmiddleware: (file:///tmp/pana_LSAQMX/lib/authmiddleware_package.dart:1:1) error: file already written at "authmiddleware/index.html" for symbol authmiddleware: (file:///tmp/pana_LSAQMX/lib/authmiddleware.dart:1:1) conflicting with file already generated by authmiddleware: (file:///tmp/pana_LSAQMX/lib/authmiddleware_package.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'authmiddleware' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc directive in one [16 more lines]

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:authmiddleware/authmiddleware.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:authmiddleware/authmiddleware.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:authmiddleware/authmiddleware.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:authmiddleware/authmiddleware.dart that imports:
  • package:fluttertoast/fluttertoast.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:authmiddleware/authmiddleware.dart that imports:
  • package:fluttertoast/fluttertoast.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_LSAQMX/lib/authmiddleware.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_LSAQMX/lib/authmiddleware_package.dart doesn't match the Dart formatter.

To format your files run: dart format .

Passed report section
Support up-to-date dependencies
40 / 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
flutter_secure_storage >=9.2.2 <10.0.0 9.2.4 9.2.4
fluttertoast ^8.0.9 8.2.12 8.2.12
http >=1.1.0 1.4.0 1.4.0
logging ^1.2.0 1.3.0 1.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
win32 - 5.13.0 5.13.0
xdg_directories - 1.1.0 1.1.0

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.29.3, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: