binary_patch 1.0.0 copy "binary_patch: ^1.0.0" to clipboard
binary_patch: ^1.0.0 copied to clipboard

binary_patch is a Dart/Flutter library for creating and applying efficient binary diffs using the bsdiff algorithm, reducing update sizes with support for zstd, bzip2, and lzma compression.

130/ 160
pub points
54
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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: MIT.

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

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

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 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:binary_patch/binary_patch.dart that imports:
  • package:binary_patch/src/core/bspatch_engine.dart that imports:
  • dart:isolate
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: Angle brackets will be interpreted as HTML.

bin/binary_patch_cli.dart:8:50

  ╷
8 │ ///   dart run binary_patch:binary_patch create  <old> <new> <patch>   [--compression=zstd|bzip2|lzma] [--level=N]
  │                                                  ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/binary_patch_cli.dart

INFO: Angle brackets will be interpreted as HTML.

bin/binary_patch_cli.dart:8:56

  ╷
8 │ ///   dart run binary_patch:binary_patch create  <old> <new> <patch>   [--compression=zstd|bzip2|lzma] [--level=N]
  │                                                        ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/binary_patch_cli.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
archive ^3.4.10 3.6.1 4.0.9
crypto ^3.0.3 3.0.7 3.0.7
meta ^1.11.0 1.19.0 1.19.0
path ^1.9.0 1.9.1 1.9.1
typed_data ^1.3.2 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1

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

The constraint `^3.4.10` on archive does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions archive 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.14, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
54
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

binary_patch is a Dart/Flutter library for creating and applying efficient binary diffs using the bsdiff algorithm, reducing update sizes with support for zstd, bzip2, and lzma compression.

Repository (GitHub)
View/report issues

Topics

#binary-diff #patching #delta-compression #update-optimization #file-comparison

License

MIT (license)

Dependencies

archive, crypto, meta, path, typed_data

More

Packages that depend on binary_patch