codepush_protocol 0.1.0 copy "codepush_protocol: ^0.1.0" to clipboard
codepush_protocol: ^0.1.0 copied to clipboard

The CodePush wire protocol: patch manifest shape and Ed25519 signing, shared verbatim between the in-app runtime and the publishing CLI.

130/ 160
pub points
--
downloads

We analyzed this package 12 hours 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

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

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

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

27 out of 47 API elements (57.4 %) have documentation comments.

Some symbols that are missing documentation: codepush_protocol.ManifestFormatException.ManifestFormatException.new, codepush_protocol.ManifestFormatException.message, codepush_protocol.PatchManifest.PatchManifest.new, codepush_protocol.PatchManifest.artifactSha256, codepush_protocol.PatchManifest.artifactSizeBytes.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.cn/web/wasm for details.

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

INFO: Statements in an if should be enclosed in a block.

lib/src/manifest.dart:192:7

    ╷
192 │       throw const ManifestFormatException('manifest has no artifact url');
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
crypto ^3.0.7 3.0.7 3.0.7
ed25519_edwards ^0.3.2 0.3.2 0.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
fixnum - 1.1.1 1.1.1
typed_data - 1.4.0 1.4.0

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

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.19, Dart 3.13.5.

Check the analysis log for details.

0
likes
130
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

The CodePush wire protocol: patch manifest shape and Ed25519 signing, shared verbatim between the in-app runtime and the publishing CLI.

Topics

#code-push #signing #ed25519

License

MIT (license)

Dependencies

crypto, ed25519_edwards

More

Packages that depend on codepush_protocol