forge_core 0.1.8
forge_core: ^0.1.8 copied to clipboard
Core for forge_framework and forge_flutter packages, including annotations and injector , serialization, validation, etc.
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
10/10 points: 20% or more of the public API has dartdoc comments
342 out of 724 API elements (47.2 %) have documentation comments.
Some symbols that are missing documentation: forge_core.AbstractProxy.AbstractProxy.new, forge_core.AbstractProxy.handler, forge_core.AbstractProxy.metadata, forge_core.AbstractProxy.target, forge_core.All.All.new.
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:forge_core/forge_core.dartthat imports:package:forge_core/src/socket/socket_client.dartthat imports:package:forge_core/src/logger.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Dead code.
lib/src/socket/socket_client.dart:321:5
╷
321 │ ┌ _logger.info(
322 │ │ 'Disposing SocketClient (instance: ${identityHashCode(this)})',
323 │ │ );
324 │ │
325 │ │ _disposed = true;
326 │ │
327 │ │ disconnect();
328 │ │ _eventListeners.clear();
329 │ │ _onConnect = null;
330 │ │ _onDisconnect = null;
331 │ │ _onError = null;
332 │ │ _onReconnecting = null;
333 │ └ _onConnectionLost = null;
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/socket/socket_client.dart
INFO: The import of '../logger.dart' is unnecessary because all of the used elements are also provided by the import of '../../forge_core.dart'.
lib/src/socket/socket_client.dart:8:8
╷
8 │ import '../logger.dart';
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/socket/socket_client.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
colorize |
^3.0.0 |
3.0.0 | 3.0.0 | |
meta |
^1.16.0 |
1.18.0 | 1.18.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
phone_numbers_parser |
^9.0.15 |
9.0.18 | 9.0.18 | |
web_socket_channel |
^3.0.3 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.23.8, Dart 3.10.7.
Check the analysis log for details.