socket_io_client_flutter 2.0.0 socket_io_client_flutter: ^2.0.0 copied to clipboard
Flutter port of socket.io-client for web, flutter, dartvm to use
We analyzed this package 6 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/xibbit/socket_io_client_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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting socket_io_client_flutter...
Discovering libraries...
Linking elements...
Precaching local docs for 699103 elements...
Initialized dartdoc with 439 libraries
Generating docs for library http/req.dart from package:socket_io_client_flutter/http/req.dart...
Generating docs for library v3/src/socket_io_common_flutter/parser3.dart from package:socket_io_client_flutter/v3/src/socket_io_common_flutter/parser3.dart...
Generating docs for library v3/src/engine/socket.dart from package:socket_io_client_flutter/v3/src/engine/socket.dart...
Generating docs for library v3/src/engine/transport/transports_stub.dart from package:socket_io_client_flutter/v3/src/engine/transport/transports_stub.dart...
Generating docs for library v3/src/engine/transport/jsonp_transport.dart from package:socket_io_client_flutter/v3/src/engine/transport/jsonp_transport.dart...
[22 more lines]
ERR:
error: file already written at "socket_io_client_flutter/index.html"
for symbol socket_io_client_flutter: (file:///tmp/pana_UFFUIZ/lib/socket_io_client_flutter.dart:14:9)
conflicting with file already generated by socket_io_client_flutter: (file:///tmp/pana_UFFUIZ/lib/v3/socket_io_client_flutter.dart:14:9)
Dartdoc generates a path and filename to write to for each symbol.
'socket_io_client_flutter' conflicts with another symbol in the
generated path, and therefore can not be written out. Changing the
name, library name, or class name (if appropriate) of one of the
conflicting items can resolve the conflict. Alternatively, use the
@nodoc
directive in one symbol's documentation comment to hide it.
error: file already written at "socket_io_client_flutter/socket_io_client_flutter-library.html"
[23 more lines]
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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 125 issues. Showing the first 2:
INFO: An uninitialized field should have an explicit type annotation.
lib/http/req.dart:51:7
╷
51 │ var timeout;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http/req.dart
INFO: An uninitialized field should have an explicit type annotation.
lib/http/req.dart:52:7
╷
52 │ var onload;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http/req.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
http |
^1.2.1 |
1.2.2 | 1.2.2 |
logging |
^1.0.1 |
1.3.0 | 1.3.0 |
socket_io_common |
^2.0.0 |
2.0.3 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
collection |
- | 1.19.1 | 1.19.1 |
http_parser |
- | 4.1.2 | 4.1.2 |
meta |
- | 1.16.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
source_span |
- | 1.10.1 | 1.10.1 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.0.0` on socket_io_common does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions socket_io_common
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.17
, Dart 3.6.0
.
Check the analysis log for details.