webserial 1.0.0+1 copy "webserial: ^1.0.0+1" to clipboard
webserial: ^1.0.0+1 copied to clipboard

Platformweb

WebSerial support for Dart built on the web package.

0
likes
140/ 160
pub points
18
downloads

We analyzed this package 13 hours ago, and awarded it 140 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

19 out of 42 API elements (45.2 %) have documentation comments.

Some symbols that are missing documentation: webserial.EventHandler, webserial.JSSerial, webserial.JSSerial.getPorts, webserial.JSSerial.onconnect, webserial.JSSerial.ondisconnect.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:webserial/webserial.dart that imports:
  • package:webserial/src/webserial_base.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform iOS

Because:

  • package:webserial/webserial.dart that imports:
  • package:webserial/src/webserial_base.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Windows

Because:

  • package:webserial/webserial.dart that imports:
  • package:webserial/src/webserial_base.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Linux

Because:

  • package:webserial/webserial.dart that imports:
  • package:webserial/src/webserial_base.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform macOS

Because:

  • package:webserial/webserial.dart that imports:
  • package:webserial/src/webserial_base.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop

0/0 points: WASM compatibility

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

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

OK
Pass static analysis
50 / 50trigger folding of the section

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

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
web ^1.1.0 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

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
140
points
18
downloads

Publisher

verified publishermanichord.com

Weekly Downloads

WebSerial support for Dart built on the web package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

web

More

Packages that depend on webserial