polo_server 0.0.3
polo_server: ^0.0.3 copied to clipboard
A WebSocket Library written in Pure Dart. Easy API for writing WebSocket based Apps or Games. Also Support for Flutter and Web.
We analyzed this package in the last hour, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
10/10 points: 20% or more of the public API has dartdoc comments
26 out of 32 API elements (81.3 %) have documentation comments.
Some symbols that are missing documentation: polo_server.PoloClient.id, polo_server.PoloType.PoloType.fromMap, polo_server.PoloType.toMap, polo_server.PoloTypeAdapter.PoloTypeAdapter.new, polo_server.PoloTypeAdapter.fromMap.
10/10 points: Package has an example
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:polo_server/polo_server.dartthat imports:package:polo_server/src/polo_server_helper.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The argument type 'PoloClient' isn't related to 'String'.
lib/src/polo_server_base.dart:83:30
╷
83 │ if (_clients.containsKey(client)) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/polo_server_base.dart
INFO: The argument type 'PoloClient' isn't related to 'String'.
lib/src/polo_server_base.dart:84:16
╷
84 │ _clients[client]!.send<T>(event, data);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/polo_server_base.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
uuid |
^3.0.6 |
3.0.7 | 4.5.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.0.6` on uuid does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions uuid 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.23.11, Dart 3.11.2.
Check the analysis log for details.