socket_io_client_flutter 2.0.0 copy "socket_io_client_flutter: ^2.0.0" to clipboard
socket_io_client_flutter: ^2.0.0 copied to clipboard

Flutter port of socket.io-client for web, flutter, dartvm to use

5
likes
130/ 160
pub points
136
downloads

We analyzed this package 36 hours ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 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 699490 elements... Initialized dartdoc with 440 libraries Generating docs for library http/req.dart from package:socket_io_client_flutter/http/req.dart... Generating docs for library socket_io_client_flutter.dart from package:socket_io_client_flutter/socket_io_client_flutter.dart... Generating docs for library v3/socket_io_client_flutter.dart from package:socket_io_client_flutter/v3/socket_io_client_flutter.dart... Generating docs for library v3/src/socket.dart from package:socket_io_client_flutter/v3/src/socket.dart... Generating docs for library v3/src/darty.dart from package:socket_io_client_flutter/v3/src/darty.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_GXDUHQ/lib/v3/socket_io_client_flutter.dart:1:1) conflicting with file already generated by socket_io_client_flutter: (file:///tmp/pana_GXDUHQ/lib/socket_io_client_flutter.dart:1:1) 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" [26 more lines]

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
http ^1.2.1 1.3.0 1.3.0
logging ^1.0.1 1.3.0 1.3.0
socket_io_common ^2.0.0 2.0.3 3.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.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.1 1.1.1

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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.19, Dart 3.7.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
130
points
136
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter port of socket.io-client for web, flutter, dartvm to use

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http, logging, socket_io_common

More

Packages that depend on socket_io_client_flutter