socket_io_client_new 1.0.3 copy "socket_io_client_new: ^1.0.3" to clipboard
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 [...]

140/ 160
pub points
163
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

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

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

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.cn/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 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

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

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

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.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
163
downloads

Publisher

unverified uploader

Weekly Downloads

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 properly handles default ports.

Repository (GitHub)
View/report issues

Topics

#socket-io #websocket #realtime #networking

Documentation

API reference

License

MIT (license)

Dependencies

logging, socket_io_common, web

More

Packages that depend on socket_io_client_new