stargate 1.2.0
stargate: ^1.2.0 copied to clipboard
Network Connection Module
We analyzed this package 19 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting stargate... Discovering libraries... Linking elements... Precaching local docs for 144220 elements... Initialized dartdoc with 101 libraries Generating docs for library skywalker.dart from package:stargate/skywalker.dart... Generating docs for library startrek.dart from package:stargate/startrek.dart... Generating docs for library websocket.dart from package:stargate/websocket.dart... Generating docs for library fsm.dart from package:stargate/fsm.dart... Generating docs for library stargate.dart from package:stargate/stargate.dart... [1 more lines] ERR: warning: ambiguous reexport of active.ActiveConnection, canonicalization candidates: (stargate, stargate, stargate) -> stargate (confidence 0.000) from active.ActiveConnection: (file:///tmp/pana_DZYQLX/lib/src/active.dart:38:7) stargate: 1.211 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000), _Reason.locationPartStart (+0.001000)) stargate: 1.211 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000), _Reason.locationPartStart (+0.001000)) stargate: 1.211 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor active.ActiveConnection} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be [119 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:stargate/stargate.dartthat imports:package:stargate/src/hub.dartthat imports:package:startrek/startrek.dartthat imports:package:startrek/src/stargate.dartthat imports:package:startrek/src/stardocker.dartthat imports:package:startrek/src/port/docker.dartthat imports:package:startrek/src/nio/exception.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/src/ws_html.dart:32:1
╷
32 │ import 'dart:html';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ws_html.dart
/tmp/pana_DZYQLX/lib/src/active.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
object_key |
^1.1.1 |
1.1.1 | 1.1.1 | |
startrek |
^1.2.0 |
1.2.0 | 1.2.0 |
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.3, Dart 3.10.4.
Check the analysis log for details.