dakit_api 0.2.0 copy "dakit_api: ^0.2.0" to clipboard
dakit_api: ^0.2.0 copied to clipboard

DeviantArt HTTP API and OAuth adapter for the DAKit client SDK.

120/ 160
pub points
569
downloads

We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

packages/dakit_api/pubspec.yaml from the repository URL mismatch: expected https://github.com/redtidev1918/dakit but got https://github.com/redtidev1918/DAKit.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: dakit_api,
    • contains a version property, and,
    • does not contain a publish_to property.

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: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

29 out of 245 API elements (11.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: dakit_api.ApiConfig, dakit_api.ApiConfig.ApiConfig.new, dakit_api.ApiConfig.baseUri, dakit_api.ApiConfig.connectTimeout, dakit_api.ApiConfig.minorVersion.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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:dakit_api/dakit_api.dart that imports:
  • package:dakit_api/src/repositories/web_deviation_client.dart that imports:
  • package:dakit_api/src/http/network_adapter.dart that imports:
  • package:dio/io.dart that imports:
  • package:dio/src/dio/dio_for_native.dart that imports:
  • package:dio/src/adapters/io_adapter.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: Use an initializing formal to assign a parameter to a field.

lib/src/repositories/web_deviation_client.dart:51:8

   ╷
51 │   }) : _session = session,
   │        ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/repositories/web_deviation_client.dart

INFO: Use an initializing formal to assign a parameter to a field.

lib/src/repositories/web_deviation_client.dart:60:8

   ╷
60 │        _diagnostics = diagnostics,
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/repositories/web_deviation_client.dart

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
crypto ^3.0.7 3.0.7 3.0.7
dakit_core ^0.2.0 0.2.0 1.1.0
dio ^5.11.0 5.11.1 5.11.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.2.2 2.2.2
http_parser - 4.1.2 4.1.2
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.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.1 1.1.1

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

The constraint `^0.2.0` on dakit_core does not support the stable version `1.0.0`, that was published 25 days ago.

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

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
569
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

DeviantArt HTTP API and OAuth adapter for the DAKit client SDK.

Topics

#deviantart #deviantart-api #oauth #pkce #http-client

License

MIT (license)

Dependencies

crypto, dakit_core, dio

More

Packages that depend on dakit_api