pvcache 0.3.0
pvcache: ^0.3.0 copied to clipboard
Adding hooks to Sembast and Flutter secure storage for advanced caching strategies
We analyzed this package 5 hours ago, and awarded it 140 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
99 out of 111 API elements (89.2 %) have documentation comments.
Some symbols that are missing documentation: bridge, cache, encrypt, encrypt.AESCipher.AESCipher.new, encrypt.AESCipher.seed.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:pvcache/pvcache.dartthat imports:package:pvcache/core/bridge.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:pvcache/pvcache.dartthat imports:package:pvcache/core/bridge.dartthat imports:package:path_provider/path_provider.dartthat imports:package:path_provider_platform_interface/path_provider_platform_interface.dartthat imports:package:path_provider_platform_interface/src/method_channel_path_provider.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Don't invoke 'print' in production code.
lib/hooks/encryption.dart:119:9
╷
119 │ print('Warning: Failed to decrypt entry: $e');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/hooks/encryption.dart
INFO: Don't invoke 'print' in production code.
lib/hooks/selective_encryption.dart:186:11
╷
186 │ print('Warning: Failed to decrypt field "$path": $e');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/hooks/selective_encryption.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
flutter_secure_storage |
^9.2.4 |
9.2.4 | 9.2.4 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 | |
pointycastle |
^3.9.1 |
3.9.1 | 4.0.0 | |
sembast |
^3.8.5+1 |
3.8.5+1 | 3.8.5+1 | |
sembast_web |
^2.4.2 |
2.4.2 | 2.4.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.0.0 | |
idb_shim |
- | 2.6.7 | 2.6.7 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.9.1` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle to update the constraint.
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.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.