spinify 0.1.0-pre.1 copy "spinify: ^0.1.0-pre.1" to clipboard
spinify: ^0.1.0-pre.1 copied to clipboard

Dart client to communicate with Centrifuge and Centrifugo from Dart and Flutter over WebSockets with Protobuf support.

10
likes
140/ 160
pub points
37%
popularity

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

Funding URL doesn't exist.

At the time of the analysis https://www.patreon.com/plugfox 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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

879 out of 886 API elements (99.2 %) have documentation comments.

Some symbols that are missing documentation: spinify, spinify.Int64.Int64.fromBytes, spinify.Int64.Int64.fromBytesBigEndian, spinify.Int64.toDebugString, spinify.Int64.toRadixStringUnsigned.

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.

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

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

Found 25 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/spinify.dart:631:7

    ╷
631 │ ┌       throw const SpinifyConnectionException(
632 │ │         message: 'Client is closed permanently',
633 │ └       );
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/spinify.dart:988:13

    ╷
988 │             readyCompleter.completeError(error, stackTrace);
    │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/spinify.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
crypto ^3.0.3 3.0.6 3.0.6
fixnum ^1.1.0 1.1.1 1.1.1
meta ^1.9.1 1.16.0 1.16.0
protobuf ^3.1.0 3.1.0 3.1.0
stack_trace ^1.11.0 1.12.0 1.12.0
web ^1.0.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
path - 1.9.1 1.9.1
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.15, Dart 3.5.4.

Check the analysis log for details.

10
likes
140
pub points
37%
popularity

Publisher

verified publisherplugfox.dev

Dart client to communicate with Centrifuge and Centrifugo from Dart and Flutter over WebSockets with Protobuf support.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#spinify #centrifugo #centrifuge #websocket #cross-platform

Funding

Consider supporting this project:

www.buymeacoffee.com
www.patreon.com
boosty.to

License

MIT (license)

Dependencies

crypto, fixnum, meta, protobuf, stack_trace, web

More

Packages that depend on spinify