socket_io_adapter 0.0.1
socket_io_adapter: ^0.0.1 copied to clipboard
Socket IO Adapter
We analyzed this package 11 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: BSD-3-Clause
.
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.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:socket_io_adapter/socket_io_adapter.dart
that imports:package:socket_io_adapter/socket/socket_io_adapter.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:socket_io_adapter/socket_io_adapter.dart
that imports:package:socket_io_adapter/socket/socket_io_adapter.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full 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 9 issues. Showing the first 2:
INFO: Missing type annotation.
lib/socket/socket_io_adapter.dart:31:3
╷
31 │ 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:51:3
╷
51 │ disconnect() => _socket?.dispose();
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/socket/socket_io_adapter.dart
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.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.