webcrypto 0.6.1 copy "webcrypto: ^0.6.1" to clipboard
webcrypto: ^0.6.1 copied to clipboard

Cross-platform implementation of Web Cryptography APIs for Dart.

140/ 160
pub points
26.2k
downloads

We analyzed this package 26 hours ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

114 out of 141 API elements (80.9 %) have documentation comments.

Some symbols that are missing documentation: webcrypto.AesGcmSecretKey.decryptBytes, webcrypto.EcdhPrivateKey.EcdhPrivateKey.new, webcrypto.EcdhPublicKey, webcrypto.EcdhPublicKey.EcdhPublicKey.new, webcrypto.EcdhPublicKey.exportRawKey.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: Library names are not necessary.

lib/src/boringssl/lookup/symbols.generated.dart:21:9

   ╷
21 │ library symbols.generated;
   │         ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/boringssl/lookup/symbols.generated.dart

INFO: Library names are not necessary.

lib/src/crypto_subtle.dart:17:9

   ╷
17 │ library common;
   │         ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/crypto_subtle.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
code_assets ^1.0.0 1.0.0 2.0.0
ffi ^2.0.0 2.2.0 2.2.0
hooks ^1.0.0 1.0.3 2.2.0
meta ^1.3.0 1.19.0 1.19.0
native_toolchain_cmake ^0.2.4 0.2.7 0.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
change_case - 2.2.0 2.2.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
file - 7.0.1 7.0.1
glob - 2.2.0 2.2.0
logging - 1.3.0 1.3.0
path - 1.9.1 1.9.1
pub_semver - 2.2.1 2.2.1
record_use - 0.6.0 1.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^1.0.0` on code_assets does not support the stable version `2.0.0`, that was published 20 days ago.

When code_assets is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions code_assets to update the constraint.

The constraint `^1.0.0` on hooks does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions hooks to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
83
likes
140
points
26.2k
downloads

Documentation

API reference

Publisher

verified publishergoogle.dev

Weekly Downloads

Cross-platform implementation of Web Cryptography APIs for Dart.

Repository (GitHub)
View/report issues
Contributing

Topics

#crypto

License

Apache-2.0 (license)

Dependencies

code_assets, ffi, hooks, meta, native_toolchain_cmake

More

Packages that depend on webcrypto