dartactyl 1.11.1 dartactyl: ^1.11.1 copied to clipboard
An API client wrapper for Pterodactyl Panel. Following V1 for now.
We analyzed this package 25 hours ago, and awarded it 100 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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting dartactyl... Discovering libraries... Linking elements... Precaching local docs for 760706 elements... Initialized dartdoc with 746 libraries Generating docs for library dartactyl.dart from package:dartactyl/dartactyl.dart... Generating docs for library websocket.dart from package:dartactyl/websocket.dart... Generating docs for library models.dart from package:dartactyl/models.dart... Generating docs for library dartactyl_visible_dio.dart from package:dartactyl/dartactyl_visible_dio.dart... Documented 4 public libraries in 58.4 seconds ERR: warning: ambiguous reexport of json_map.JsonMap, canonicalization candidates: (dartactyl_visible_dio, dartactyl, dartactyl) -> dartactyl (confidence 0.000) from json_map.JsonMap: (file:///tmp/pana_UIWDKP/lib/src/extra/json_map.dart:1:9) dartactyl_visible_dio: 0.01000 - (_Reason.longName (+0.01000)) dartactyl: 1.178 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) dartactyl: 1.178 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor json_map.JsonMap} 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 [2059 more lines]
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:dartactyl/dartactyl.dart
that imports:package:dartactyl/src/clients/translation_client.dart
that imports:package:dartactyl/models.dart
that imports:package:dartactyl/src/clients/client_site_config.dart
that imports:package:dartactyl/dartactyl_visible_dio.dart
that imports:package:dartactyl/src/clients/client.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dartactyl/dartactyl.dart
that imports:package:dartactyl/src/clients/translation_client.dart
that imports:package:dartactyl/models.dart
that imports:package:dartactyl/src/clients/client_site_config.dart
that imports:package:dartactyl/dartactyl_visible_dio.dart
that imports:package:dartactyl/src/clients/client.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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 33 issues. Showing the first 2:
WARNING: The diagnostic 'unnecessary_brace_in_string_interps' doesn't need to be ignored here because it's already being ignored.
lib/src/generated/clients/client.g.dart:85:21
╷
85 │ // ignore_for_file: unnecessary_brace_in_string_interps,no_leading_underscores_for_local_identifiers
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/clients/client.g.dart
WARNING: The diagnostic 'no_leading_underscores_for_local_identifiers' doesn't need to be ignored here because it's already being ignored.
lib/src/generated/clients/client.g.dart:85:57
╷
85 │ // ignore_for_file: unnecessary_brace_in_string_interps,no_leading_underscores_for_local_identifiers
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/clients/client.g.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 |
dio |
^5.0.0 |
5.7.0 | 5.7.0 |
fast_immutable_collections |
^10.2.4 |
10.2.4 | 11.0.0 |
freezed_annotation |
^2.4.1 |
2.4.4 | 2.4.4 |
html |
^0.15.0 |
0.15.5 | 0.15.5 |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 |
meta |
^1.7.0 |
1.16.0 | 1.16.0 |
retrofit |
^4.0.1 |
4.4.1 | 4.4.1 |
rxdart |
^0.27.7 |
0.27.7 | 0.28.0 |
universal_io |
^2.0.4 |
2.2.2 | 2.2.2 |
web_socket_channel |
^3.0.0 |
3.0.1 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
crypto |
- | 3.0.6 | 3.0.6 |
csslib |
- | 1.0.2 | 1.0.2 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
http_parser |
- | 4.1.1 | 4.1.1 |
path |
- | 1.9.1 | 1.9.1 |
source_span |
- | 1.10.1 | 1.10.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 1.1.0 | 1.1.0 |
web_socket |
- | 0.1.6 | 0.1.6 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^10.2.4` on fast_immutable_collections does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions fast_immutable_collections
to update the constraint.
The constraint `^0.27.7` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_CLASS
-lib/src/interceptors/handle_errors.dart:8:16
- Undefined class 'DioException'.UNDEFINED_CLASS
-lib/src/interceptors/transform_errors.dart:14:16
- Undefined class 'DioException'.UNDEFINED_CLASS
-lib/src/models/error_responses/exceptions/generic_api_exception.dart:28:9
- Undefined class 'DioException'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Dart 3.6.0
.
Check the analysis log for details.