halo_auth 0.0.7
halo_auth: ^0.0.7 copied to clipboard
A Multi-Platform Authentication Plugin
We analyzed this package 13 days ago, and awarded it 125 pub points (of a possible 160):
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.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.7").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting halo_auth...
Discovering libraries...
Linking elements...
Precaching local docs for 1375625 elements...
Initialized dartdoc with 1441 libraries
Generating docs for library domain/entities/device_info.dart from package:halo_auth/domain/entities/device_info.dart...
Generating docs for library domain/entities/auth_tokens.dart from package:halo_auth/domain/entities/auth_tokens.dart...
Generating docs for library domain/repositories/auth_repository.dart from package:halo_auth/domain/repositories/auth_repository.dart...
Generating docs for library domain/usecases/authenticate_use_case.dart from package:halo_auth/domain/usecases/authenticate_use_case.dart...
Generating docs for library halo_auth_method_channel.dart from package:halo_auth/halo_auth_method_channel.dart...
[17 more lines]
ERR:
error: file already written at "halo_auth/index.html"
for symbol halo_auth: (file:///tmp/pana_ITKGNP/lib/halo_auth_export.dart:1:1)
conflicting with file already generated by halo_auth: (file:///tmp/pana_ITKGNP/lib/halo_auth.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'halo_auth' 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 symbol's
documentation comment to hide it.
error: file already written at "halo_auth/halo_auth-library.html"
[14 more lines]
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:halo_auth/halo_auth.dartthat imports:package:halo_auth/core/di/dependency_injection.dartthat imports:package:halo_auth/data/datasources/platform/windows_registry_data_source.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:halo_auth/halo_auth.dartthat imports:package:halo_auth/core/di/dependency_injection.dartthat imports:package:halo_auth/data/datasources/platform/windows_registry_data_source.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:halo_auth/halo_auth.dartthat imports:package:halo_auth/core/di/dependency_injection.dartthat imports:package:halo_auth/data/datasources/platform/windows_registry_data_source.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:halo_auth/halo_auth.dartthat imports:package:halo_auth/core/di/dependency_injection.dartthat imports:package:halo_auth/data/datasources/platform/windows_registry_data_source.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:halo_auth/halo_auth.dartthat imports:package:halo_auth/core/di/dependency_injection.dartthat imports:package:halo_auth/data/datasources/platform/windows_registry_data_source.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:halo_auth/halo_auth.dartthat imports:package:halo_auth/core/di/dependency_injection.dartthat imports:package:halo_auth/data/datasources/platform/windows_registry_data_source.dartthat imports:package:win32/win32.dartthat imports:package:win32/src/com/iwinhttprequest.dartthat imports:package:win32/src/com/iunknown.dartthat imports:package:win32/src/utils.dartthat imports:package:win32/src/win32/user32.g.dartthat imports:package:win32/src/variant.dartthat imports:package:win32/src/win32/oleaut32.g.dartthat imports:package:win32/src/structs.g.dartthat imports:package:win32/src/guid.dartthat imports:package:win32/src/win32/ole32.g.dartthat imports:package:win32/src/combase.dartthat imports:package:win32/src/macros.dartthat imports:package:win32/src/inline.dartthat imports:package:win32/src/win32/uxtheme.g.dartthat imports:package:win32/src/callbacks.dartthat imports:package:win32/src/types.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/halo_auth/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
INFO: 'KEY_READ' is deprecated and shouldn't be used. Use KEY_READ instead.
lib/data/datasources/platform/windows_registry_data_source.dart:36:23
╷
36 │ REG_SAM_FLAGS.KEY_READ,
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/datasources/platform/windows_registry_data_source.dart
INFO: 'ERROR_SUCCESS' is deprecated and shouldn't be used. Use ERROR_SUCCESS instead.
lib/data/datasources/platform/windows_registry_data_source.dart:40:37
╷
40 │ if (openResult != WIN32_ERROR.ERROR_SUCCESS) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/datasources/platform/windows_registry_data_source.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.4.0 |
5.9.0 | 5.9.0 | |
ffi |
^2.1.0 |
2.1.4 | 2.1.4 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
web |
^1.0.0 |
1.1.1 | 1.1.1 | |
win32 |
^5.5.0 |
5.15.0 | 5.15.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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.2.0 | 2.2.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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.