dartactyl 1.11.1 copy "dartactyl: ^1.11.1" to clipboard
dartactyl: ^1.11.1 copied to clipboard

An API client wrapper for Pterodactyl Panel. Following V1 for now.

3
likes
100/ 160
pub points
423
downloads

We analyzed this package 6 days ago, and awarded it 100 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: Documenting dartactyl... Discovering libraries... Linking elements... Precaching local docs for 761194 elements... Initialized dartdoc with 748 libraries Generating docs for library dartactyl_visible_dio.dart from package:dartactyl/dartactyl_visible_dio.dart... 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... Documented 4 public libraries in 50.3 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_WIYKZH/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]

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Failed check 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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
   │                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

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
   │                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/clients/client.g.dart

Failed report section
Support up-to-date dependencies
10 / 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
collection ^1.18.0 1.19.1 1.19.1
dio ^5.0.0 5.8.0+1 5.8.0+1
fast_immutable_collections ^10.2.4 10.2.4 11.0.3
freezed_annotation ^2.4.1 2.4.4 3.0.0
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.2 4.4.2
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.2 3.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dio_web_adapter - 2.1.1 2.1.1
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stream_channel - 2.1.4 2.1.4
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.1 1.1.1
web_socket - 0.1.6 0.1.6

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

Found 3 issues. Showing the first 2:

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 `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`, that was published 29 days ago.

When freezed_annotation is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 10050100150200250300350400450>=1.0.0-0 <2.0.0
3
likes
100
points
423
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.16 - 2025.03.31

An API client wrapper for Pterodactyl Panel. Following V1 for now.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, dio, fast_immutable_collections, freezed_annotation, html, json_annotation, meta, retrofit, rxdart, universal_io, web_socket_channel

More

Packages that depend on dartactyl