sodium 2.3.0
sodium: ^2.3.0 copied to clipboard
Dart bindings for libsodium, for the Dart-VM and for the Web
We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 140):
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
318 out of 330 API elements (96.4 %) have documentation comments.
Some symbols that are missing documentation: sodium
, CryptoPwhashAlgorithm
, copyWith
, SecretExStream
, copyWith
.
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
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 77 issues. Showing the first 2:
WARNING: The value of the field '_pad' isn't used.
lib/src/ffi/bindings/libsodium.ffi.dart:11957:40
╷
11957 │ external ffi.Array<ffi.UnsignedChar> _pad;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/bindings/libsodium.ffi.dart
INFO: Use 'TypeName _' instead of a type literal.
lib/src/ffi/bindings/sodium_pointer.dart:415:12
╷
415 │ case Int8:
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/bindings/sodium_pointer.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi |
^2.1.0 |
2.1.0 | 2.1.0 |
freezed_annotation |
^2.4.1 |
2.4.1 | 2.4.1 |
js |
^0.6.7 |
0.6.7 | 0.6.7 |
meta |
^1.9.1 |
1.11.0 | 1.11.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.18.0 | 1.18.0 |
json_annotation |
- | 4.8.1 | 4.8.1 |
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
Analyzed with Pana 0.21.43
, Dart 3.2.1
.
Check the analysis log for details.