lazysecret 1.0.6
lazysecret: ^1.0.6 copied to clipboard
Lazysecret is a comprehensive Flutter implementation of the libsodium using secret_box library.
We analyzed this package 17 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting lazysecret...
Discovering libraries...
Linking elements...
Precaching local docs for 653029 elements...
Initialized dartdoc with 816 libraries
Generating docs for library lazysecret.dart from package:lazysecret/lazysecret.dart...
Generating docs for library kx/key_pair.dart from package:lazysecret/kx/key_pair.dart...
Generating docs for library lazysecret_box.dart from package:lazysecret/lazysecret_box.dart...
Generating docs for library interop/sodium_interop.dart from package:lazysecret/interop/sodium_interop.dart...
Generating docs for library converter/hex_converter.dart from package:lazysecret/converter/hex_converter.dart...
[2 more lines]
ERR:
warning: lazysecret has no library level documentation comments
from lazysecret: (file:///tmp/pana_ERAEOR/lib/interop/sodium_interop.dart:1:1)
error: file already written at "lazysecret/index.html"
for symbol lazysecret: (file:///tmp/pana_ERAEOR/lib/interop/sodium_interop.dart:1:1)
conflicting with file already generated by lazysecret: (file:///tmp/pana_ERAEOR/lib/lazysecret.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'lazysecret' 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
[14 more lines]
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:lazysecret/lazysecret.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:lazysecret/lazysecret.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:lazysecret/lazysecret.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:lazysecret/lazysecret.dartthat imports:package:lazysecret/lazysecret_box.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:lazysecret/lazysecret.dartthat imports:package:lazysecret/lazysecret_box.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/lazysecret.dart:12:10
╷
12 │ static init({Duration? duration}) async {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/lazysecret.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
js |
^0.6.7 |
0.6.7 | 0.7.2 | Discontinued |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
vector_math |
- | 2.2.0 | 2.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.6.7` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- js.
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.13, Flutter 3.44.3, Dart 3.12.2.
Check the analysis log for details.