sse_handler 0.0.1 copy "sse_handler: ^0.0.1" to clipboard
sse_handler: ^0.0.1 copied to clipboard

Platformweb

StreamChannel wrappers for Server Sent Events.

0
likes
150/ 160
pub points
25%
popularity

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

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

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

13 out of 25 API elements (52.0 %) have documentation comments.

Some symbols that are missing documentation: html, html.HtmlSseChannel, html.HtmlSseChannel.HtmlSseChannel, html.HtmlSseChannel.HtmlSseChannel.connect, html.HtmlSseChannel.client.

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:sse_handler/html.dart that imports:
  • package:sse/client/sse_client.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:sse_handler/html.dart that imports:
  • package:sse/client/sse_client.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:sse_handler/html.dart that imports:
  • package:sse/client/sse_client.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:sse_handler/html.dart that imports:
  • package:sse/client/sse_client.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:sse_handler/html.dart that imports:
  • package:sse/client/sse_client.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
async ^2.11.0 2.12.0 2.12.0
http ^1.1.0 1.2.2 1.2.2
pool ^1.5.1 1.5.1 1.5.1
sse ^4.1.2 4.1.6 4.1.6
stream_channel ^2.1.1 2.1.2 2.1.2
uuid ^4.1.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
shelf - 1.4.2 1.4.2
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
string_scanner - 1.4.0 1.4.0
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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
150
pub points
25%
popularity

Publisher

unverified uploader

StreamChannel wrappers for Server Sent Events.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, http, pool, sse, stream_channel, uuid

More

Packages that depend on sse_handler