lz4 0.0.1 copy "lz4: ^0.0.1" to clipboard
lz4: ^0.0.1 copied to clipboard

lz4 compress and decompress cross platform support.

0
likes
80/ 160
pub points
40%
popularity

We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

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

10/10 points: Package has an example

failed
Platform support
20 / 20trigger 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

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: The function 'waitFor' isn't defined.

lib/src/framework/native/library/package_relative_strategy.dart:55:28

   ╷
55 │     final packageUri = cli.waitFor(packageUriFuture,
   │                            ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/framework/native/library/package_relative_strategy.dart

INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.

lib/src/framework/native/buffers.dart:35:41

   ╷
35 │   Pointer<Uint8> get writePtr => _bytes.elementAt(writeCount);
   │                                         ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
ffi ^2.0.1 2.1.3 2.1.3
universal_io ^2.0.4 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0
typed_data - 1.4.0 1.4.0

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 1 error:

  • UNDEFINED_FUNCTION - lib/src/framework/native/library/package_relative_strategy.dart:55:28 - The function 'waitFor' isn't defined.

Run dart pub downgrade and then dart 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.22.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
80
pub points
40%
popularity

Publisher

unverified uploader

lz4 compress and decompress cross platform support.

Documentation

API reference

License

MIT (license)

Dependencies

ffi, universal_io

More

Packages that depend on lz4