socket_io_adapter 1.0.4 copy "socket_io_adapter: ^1.0.4" to clipboard
socket_io_adapter: ^1.0.4 copied to clipboard

This package is a wrapper for socket_io_client, simplifying connection to a socket.io server, event listening, and event emission to the server.

130/ 160
pub points
34
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: BSD-3-Clause.

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: Resolving dependencies... Downloading packages...

  • _fe_analyzer_shared 85.0.0 (was 85.0.0) (89.0.0 available)
  • analyzer 7.7.1 (was 7.7.1) (8.2.0 available)
  • args 2.7.0 (was 2.7.0)
  • async 2.13.0 (was 2.13.0)
  • collection 1.19.1 (was 1.19.1)
  • convert 3.1.2 (was 3.1.2)
  • crypto 3.0.6 (was 3.0.6)
  • csslib 1.0.2 (was 1.0.2) [18 more lines] ERR: The current activation of dartdoc cannot resolve to the same set of dependencies.

Try reactivating the package. flutter pub global activate dartdoc Failed to update packages.

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 5 issues. Showing the first 2:

INFO: Missing type annotation.

lib/socket/socket_io_adapter.dart:46:3

   ╷
46 │   connect([Map<String, dynamic>? auth]) {
   │   ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/socket/socket_io_adapter.dart

INFO: Missing type annotation.

lib/socket/socket_io_adapter.dart:66:3

   ╷
66 │   disconnect() => _socket?.dispose();
   │   ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/socket/socket_io_adapter.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
socket_io_client ^2.0.3+1 2.0.3+1 3.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
socket_io_common - 2.0.3 3.1.1
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.0.3+1` on socket_io_client does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions socket_io_client 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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
130
points
34
downloads

Publisher

verified publisherocean-business.com

Weekly Downloads

This package is a wrapper for socket_io_client, simplifying connection to a socket.io server, event listening, and event emission to the server.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, socket_io_client

More

Packages that depend on socket_io_adapter