lazysecret 1.0.5
lazysecret: ^1.0.5 copied to clipboard
Lazysecret is a comprehensive Flutter implementation of the libsodium using secret_box library.
We analyzed this package 6 days ago, and awarded it 130 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 641438 elements...
Initialized dartdoc with 795 libraries
Generating docs for library lazysecret.dart from package:lazysecret/lazysecret.dart...
Generating docs for library lazysecret_web.dart from package:lazysecret/lazysecret_web.dart...
Generating docs for library converter/hex_converter.dart from package:lazysecret/converter/hex_converter.dart...
Generating docs for library interop/sodium_interop.dart from package:lazysecret/interop/sodium_interop.dart...
Generating docs for library lazysecret_box.dart from package:lazysecret/lazysecret_box.dart...
[2 more lines]
ERR:
warning: lazysecret has no library level documentation comments
from lazysecret: (file:///tmp/pana_KPSECN/lib/interop/sodium_interop.dart:1:1)
error: file already written at "lazysecret/index.html"
for symbol lazysecret: (file:///tmp/pana_KPSECN/lib/interop/sodium_interop.dart:1:1)
conflicting with file already generated by lazysecret: (file:///tmp/pana_KPSECN/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
[16 more lines]
10/10 points: Package has an example
20/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
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:lazysecret/lazysecret.dartthat imports:package:lazysecret/lazysecret_box.dartthat 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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/lazysecret/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
INFO: Invalid use of a private type in a public API.
lib/interop/sodium_interop.dart:37:10
╷
37 │ external _KeyPair crypto_kx_keypair();
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/interop/sodium_interop.dart
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.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.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.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.