faye_dart 0.1.1+2 copy "faye_dart: ^0.1.1+2" to clipboard
faye_dart: ^0.1.1+2 copied to clipboard

Faye is a publish/subscribe messaging protocol that is built on the Bayeux protocol, a messaging system utilized for transporting asynchronous messages over HTTP.

3
likes
120/ 160
pub points
67%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/GetStream/stream-feed-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

9 out of 44 API elements (20.5 %) have documentation comments.

Some symbols that are missing documentation: faye_dart, faye_dart.Callback, faye_dart.FayeClient, faye_dart.FayeClient.FayeClient, faye_dart.FayeClient.addExtension.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: EventEmitter.onError, EventEmitter._mounted

lib/src/channel.dart:9:7

  ╷
9 │ class Channel with EquatableMixin, EventEmitter<Message> {
  │       ^^^^^^^
  ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FayeClient._clientId, FayeClient._advice, FayeClient._fayeClientState, FayeClient._webSocketChannel, FayeClient._websocketSubscription, FayeClient._connectRequestInProgress, FayeClient._manuallyClosed, FayeClient._messageId

lib/src/client.dart:49:7

   ╷
49 │ class FayeClient with Extensible, TimeoutHelper, EquatableMixin {
   │       ^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
equatable ^2.0.0 2.0.7 2.0.7
logging ^1.0.1 1.3.0 1.3.0
meta ^1.3.0 1.16.0 1.16.0
uuid ^3.0.4 3.0.7 4.5.1
web_socket_channel ^2.1.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
stream_channel - 2.1.2 2.1.2
typed_data - 1.4.0 1.4.0
web - 0.5.1 1.1.0

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

The constraint `^3.0.4` on uuid does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions uuid to update the constraint.

The constraint `^2.1.0` on web_socket_channel does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions web_socket_channel to update the constraint.

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.

3
likes
120
pub points
67%
popularity

Publisher

verified publishergetstream.io

Faye is a publish/subscribe messaging protocol that is built on the Bayeux protocol, a messaging system utilized for transporting asynchronous messages over HTTP.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable, logging, meta, uuid, web_socket_channel

More

Packages that depend on faye_dart