socket_io_client_new 1.0.3
socket_io_client_new: ^1.0.3 copied to clipboard
A fixed fork of socket_io_client that resolves the port 0 issue. When Dart's Uri.parse() parses URLs without explicit ports, it returns port=0, causing WebSocket connections to fail. This package prop [...]
We analyzed this package 35 hours ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/yourusername/socket_io_client_new was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/yourusername/socket_io_client_new was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/yourusername/socket_io_client_new/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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
77 out of 120 API elements (64.2 %) have documentation comments.
Some symbols that are missing documentation: socket_io_client_new.DartySocket.onConnect, socket_io_client_new.DartySocket.onConnectError, socket_io_client_new.DartySocket.onDisconnect, socket_io_client_new.DartySocket.onError, socket_io_client_new.DartySocket.onPing.
10/10 points: Package has an example
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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 56 issues. Showing the first 2:
INFO: Missing type annotation.
lib/socket_io_client_new.dart:47:11
╷
47 │ Socket io(uri, [opts]) => _lookup(uri, opts);
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/socket_io_client_new.dart
INFO: Missing type annotation.
lib/socket_io_client_new.dart:47:17
╷
47 │ Socket io(uri, [opts]) => _lookup(uri, opts);
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/socket_io_client_new.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
socket_io_common |
^3.0.0 |
3.1.1 | 3.1.1 | |
web |
^1.0.0 |
1.1.1 | 1.1.1 |
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.23.5, Dart 3.10.7.
Check the analysis log for details.