release_updater 1.1.8 copy "release_updater: ^1.1.8" to clipboard
release_updater: ^1.1.8 copied to clipboard

A simple way to automatically update release/installation files in a local directory.

30
likes
90/ 160
pub points
49%
popularity

We analyzed this package in the last hour, and awarded it 90 pub points (of a possible 160):

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

122 out of 312 API elements (39.1 %) have documentation comments.

Some symbols that are missing documentation: release_updater.io.Copiable, release_updater.io.Copiable.Copiable, release_updater.io.DataProvider, release_updater.io.DataProvider.DataProvider, release_updater.io.DataProvider.get.

10/10 points: Package has an example

failed
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:release_updater/release_updater.dart that imports:
  • package:release_updater/src/release_updater_storage.dart that imports:
  • package:release_updater/src/release_updater_bundle.dart that imports:
  • package:release_updater/src/release_updater_base.dart that imports:
  • package:data_serializer/data_serializer_io.dart that imports:
  • package:data_serializer/src/bytes_io_file.dart that imports:
  • dart:io

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 13 issues. Showing the first 2:

ERROR: The name 'UnmodifiableUint8ListView' isn't a type, so it can't be used as a type argument.

lib/src/release_updater_base.dart:341:12

    ╷
341 │   FutureOr<UnmodifiableUint8ListView> get();
    │            ^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The method 'UnmodifiableUint8ListView' isn't defined for the type 'ReleaseFile'.

lib/src/release_updater_base.dart:388:35

    ╷
388 │     if (data is Uint8List) return UnmodifiableUint8ListView(data);
    │                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/release_updater_base.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
archive ^3.4.9 3.6.1 3.6.1
ascii_art_tree ^1.0.6 1.0.6 1.0.6
base_codecs ^1.0.1 1.0.1 1.0.1
collection ^1.17.1 1.19.1 1.19.1
crypto ^3.0.3 3.0.6 3.0.6
data_serializer ^1.0.12 1.2.1 1.2.1
gcloud ^0.8.11 0.8.17 0.8.17
googleapis_auth ^1.4.1 1.6.0 1.6.0
mercury_client ^2.2.0 2.2.4 2.2.4
path ^1.9.0 1.9.1 1.9.1
pub_semver ^2.1.4 2.1.4 2.1.4
shelf ^1.4.1 1.4.2 1.4.2
shelf_gzip ^4.0.1 4.1.0 4.1.0
shelf_static ^1.1.2 1.1.3 1.1.3
yaml ^3.1.2 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.7 1.0.7
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
charset - 2.0.1 2.0.1
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
enum_to_string - 2.0.1 2.0.1
google_identity_services_web - 0.3.3 0.3.3
googleapis - 13.2.0 13.2.0
graph_explorer - 1.0.2 1.0.2
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.19.0 0.20.0
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
resource_portable - 3.1.0 3.1.0
retry - 3.1.2 3.1.2
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
swiss_knife - 3.2.2 3.2.2
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.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 11 errors:

  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/release_updater_base.dart:341:12 - The name 'UnmodifiableUint8ListView' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_METHOD - lib/src/release_updater_base.dart:388:35 - The method 'UnmodifiableUint8ListView' isn't defined for the type 'ReleaseFile'.
  • UNDEFINED_METHOD - lib/src/release_updater_base.dart:391:14 - The method 'UnmodifiableUint8ListView' isn't defined for the type 'ReleaseFile'.

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.

30
likes
90
pub points
49%
popularity

Publisher

unverified uploader

A simple way to automatically update release/installation files in a local directory.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, ascii_art_tree, base_codecs, collection, crypto, data_serializer, gcloud, googleapis_auth, mercury_client, path, pub_semver, shelf, shelf_gzip, shelf_static, yaml

More

Packages that depend on release_updater