simple_secure_storage_web 0.3.0
simple_secure_storage_web: ^0.3.0 copied to clipboard
Web implementation of the Simple Secure Storage plugin.
We analyzed this package 3 days 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
13 out of 13 API elements (100.0 %) have documentation comments.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:simple_secure_storage_web/simple_secure_storage_web.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:simple_secure_storage_web/simple_secure_storage_web.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:simple_secure_storage_web/simple_secure_storage_web.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:simple_secure_storage_web/simple_secure_storage_web.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:simple_secure_storage_web/simple_secure_storage_web.dartthat declares support for platforms:Web.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Uses 'await' on an instance of 'Uint8List', which is not a subtype of 'Future'.
lib/src/crypto.dart:73:47
╷
73 │ dynamic decoded = json.decode(utf8.decode(await aes.gcm(initializationVector).decrypt(base64Decode(encoded))));
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/crypto.dart
INFO: Uses 'await' on an instance of 'Uint8List', which is not a subtype of 'Future'.
lib/src/crypto.dart:88:36
╷
88 │ String encoded = base64.encode(await aes.gcm(initializationVector).encrypt(utf8.encode(json.encode(input))));
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/crypto.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cipherlib |
>=0.1.0 <1.0.0 |
0.4.0 | 0.4.0 | |
sembast |
>=3.8.0 <4.0.0 |
3.8.6 | 3.8.6 | |
sembast_web |
>=2.4.0 <3.0.0 |
2.4.4+1 | 2.4.4+1 | |
simple_secure_storage_platform_interface |
^0.2.3 |
0.2.3 | 0.2.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
hashlib |
- | 2.3.4 | 2.3.4 | |
hashlib_codecs |
- | 3.1.2 | 3.1.2 | |
idb_shim |
- | 2.9.1 | 2.9.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
synchronized |
- | 3.4.0+1 | 3.4.0+1 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 7 errors:
UNDEFINED_CLASS-lib/src/initialization_options.dart:13:9- Undefined class 'DatabaseFactory'.UNDEFINED_CLASS-lib/src/initialization_options.dart:28:5- Undefined class 'DatabaseFactory'.UNDEFINED_CLASS-lib/src/web.dart:11:3- Undefined class 'StoreRef'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Flutter 3.41.7, Dart 3.11.5.
Check the analysis log for details.