stash_disk 2.0.0-nullsafety.2 copy "stash_disk: ^2.0.0-nullsafety.2" to clipboard
stash_disk: ^2.0.0-nullsafety.2 copied to clipboard

discontinuedreplaced by: stash_file
outdated

Disk storage extension for the stash caching API. Provides support to store caches in the local file system in binary format using the msgpack json format

0
likes
120/ 140
pub points
0%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

19 out of 19 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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 not compatible with platform Web

Because:

  • package:stash_disk/stash_disk.dart that imports:
  • package:stash_disk/src/disk/disk_store.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Assignment to a variable of type 'void'.

lib/src/disk/disk_store.dart:279:39

    ╷
279 │       return _cacheDirectory(name).then((cacheDirectory) {
    │ ┌───────────────────────────────────────^
280 │ │       return _cacheDirectoryFile(cacheDirectory, key)
281 │ │           .writeAsBytes(writer.takeBytes());
282 │ │     });
    │ └─────^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
file ^6.1.0 6.1.4 7.0.0
path ^1.8.0 1.9.0 1.9.0
stash ^2.0.0-nullsafety.3 2.0.2 5.2.0
stream_transform ^2.0.0 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
equatable - 2.0.5 2.0.5
matcher - 0.12.16+1 0.12.16+1
meta - 1.15.0 1.15.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
time - 2.1.4 2.1.4
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0

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

The constraint `^6.1.0` on file does not support the stable version `7.0.0`.

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

The constraint `^2.0.0-nullsafety.3` on stash does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

0
likes
120
pub points
0%
popularity

Publisher

verified publisherivoleitao.dev

Disk storage extension for the stash caching API. Provides support to store caches in the local file system in binary format using the msgpack json format

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

file, path, stash, stream_transform

More

Packages that depend on stash_disk