socket_io 1.0.1 socket_io: ^1.0.1 copied to clipboard
Port of JS/Node library Socket.io. It enables real-time, bidirectional and event-based communication cross-platform.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
63 out of 164 API elements (38.4 %) have documentation comments.
Some symbols that are missing documentation: socket_io
, socket_io.EVENTS
, socket_io.JSONPTransport
, socket_io.JSONPTransport.JSONPTransport
, socket_io.JSONPTransport.foot
.
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:socket_io/socket_io.dart
that imports:package:socket_io/src/engine/transport/websocket_transport.dart
that imports:package:socket_io/src/engine/transport/transports.dart
that imports:package:socket_io/src/engine/transport/xhr_transport.dart
that imports:package:socket_io/src/engine/transport/polling_transport.dart
that imports:package:socket_io/src/engine/connect.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 33 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/src/engine/socket.dart:317:13
╷
317 │ if (seqFn is Function) {
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/engine/socket.dart
WARNING: Duplicate import.
lib/src/server.dart:20:8
╷
20 │ import 'namespace.dart';
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/server.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
logging |
^1.0.0 |
1.2.0 | 1.2.0 |
socket_io_common |
^1.0.1 |
1.0.1 | 2.0.3 |
stream |
^3.0.0 |
3.1.0+1 | 3.1.0+1 |
uuid |
^3.0.4 |
3.0.7 | 4.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
charcode |
- | 1.3.1 | 1.3.1 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
http |
- | 1.2.1 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
meta |
- | 1.14.0 | 1.14.0 |
mime |
- | 1.0.5 | 1.0.5 |
path |
- | 1.9.0 | 1.9.0 |
rikulo_commons |
- | 6.0.1+1 | 6.0.1+1 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
web |
- | 0.5.1 | 0.5.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.1` on socket_io_common does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions socket_io_common
to update the constraint.
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.