miio_new 1.0.4 copy "miio_new: ^1.0.4" to clipboard
miio_new: ^1.0.4 copied to clipboard

Dart implementation of MiIO LAN protocol for smart home devices.

0
likes
130/ 160
pub points
50
downloads

We analyzed this package 6 days ago, and awarded it 130 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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: miio_new,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: miio_new.

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: GPL-3.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

31 out of 69 API elements (44.9 %) have documentation comments.

Some symbols that are missing documentation: miio_new, miio_new.GetPropertyReq, miio_new.GetPropertyReq.GetPropertyReq, miio_new.GetPropertyReq.did, miio_new.GetPropertyReq.piid.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:miio_new/miio_new.dart that imports:
  • package:miio_new/src/protocol.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:miio_new/miio_new.dart that imports:
  • package:miio_new/src/protocol.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'printTime' is deprecated and shouldn't be used. Use `dateTimeFormat` with `DateTimeFormat.onlyTimeAndSinceStart` or `DateTimeFormat.none` instead.

bin/src/utils.dart:19:56

   ╷
19 │ final _prettyPrinter = l.PrettyPrinter(methodCount: 0, printTime: true);
   │                                                        ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
args ^2.6.0 2.6.0 2.6.0
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.6 3.0.6 3.0.6
cryptography ^2.7.0 2.7.0 2.7.0
json_annotation ^4.9.0 4.9.0 4.9.0
logger ^2.4.0 2.5.0 2.5.0
logging ^1.3.0 1.3.0 1.3.0
meta ^1.0.0 1.16.0 1.16.0
quiver ^3.2.2 3.2.2 3.2.2
tuple ^2.0.2 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
ffi - 2.1.3 2.1.3
js - 0.6.7 0.7.1
matcher - 0.12.17 0.12.17
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
130
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Dart implementation of MiIO LAN protocol for smart home devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

args, convert, crypto, cryptography, json_annotation, logger, logging, meta, quiver, tuple

More

Packages that depend on miio_new