sodium 2.3.0 icon indicating copy to clipboard operation
sodium: ^2.3.0 copied to clipboard

Dart bindings for libsodium, for the Dart-VM and for the Web

19
likes
120/ 140
pub points
83%
popularity

We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

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

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
30 / 50icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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.

19
likes
120
pub points
83%
popularity

Publisher

verified publisher iconskycoder42.de

Dart bindings for libsodium, for the Dart-VM and for the Web

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

ffi, freezed_annotation, js, meta

More

Packages that depend on sodium