jaguar_client 2.4.2 icon indicating copy to clipboard operation
jaguar_client: ^2.4.2 copied to clipboard

Write concise JSON API clients. Uses jaguar_serializer for automatic serialization. Supports cookies, interceptors and authentication.

1
likes
90/ 130
pub points
28%
popularity

We analyzed this package 16 hours ago, and awarded it 90 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

10/10 points: 20% or more of the public API has dartdoc comments

  • 15 out of 59 API elements (25.4 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:jaguar_client/jaguar_client.dart that imports:
  • package:jaguar_resty/jaguar_resty.dart that imports:
  • package:jaguar_resty/src/response.dart that imports:
  • package:jaguar_resty/src/jaguar_resty_base.dart that imports:
  • package:client_cookie/client_cookie.dart that imports:
  • package:client_cookie/src/client_cookie_base.dart that imports:
  • package:http/http.dart that imports:
  • package:http/src/streamed_response.dart that imports:
  • package:http/src/base_request.dart that imports:
  • package:http/src/client.dart that imports:
  • package:http/src/io_client.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

INFO: DO use curly braces for all flow control structures.

lib/src/client.dart:69:9

   ╷
69 │         item.json(repo.to(body));
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: DO use curly braces for all flow control structures.

lib/src/client.dart:71:9

   ╷
71 │         item.json(body);
   │         ^^^^^^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
async^2.0.72.9.02.9.0
auth_header^2.1.12.1.43.0.1
client_cookie^2.1.22.1.53.0.2
http^0.11.30.11.3+170.13.4
jaguar_resty^2.8.52.8.93.0.0
jaguar_serializer^2.2.02.2.122.2.12
meta^1.1.61.8.01.8.0
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.3.11.3.1
collection-1.16.01.16.0
http_parser-3.1.44.0.1
path-1.8.21.8.2
source_span-1.9.01.9.0
string_scanner-1.1.11.1.1
term_glyph-1.2.01.2.0
typed_data-1.3.11.3.1

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

Found 4 issues. Showing the first 2:

The constraint `^2.1.1` on auth_header does not support the stable version `3.0.0`.

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

The constraint `^2.1.2` on client_cookie does not support the stable version `3.0.0`.

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.0.0-dev.65 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.12, Dart 2.17.0.

1
likes
90
pub points
28%
popularity

Publisher

unverified uploader

Write concise JSON API clients. Uses jaguar_serializer for automatic serialization. Supports cookies, interceptors and authentication.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, auth_header, client_cookie, http, jaguar_resty, jaguar_serializer, meta

More

Packages that depend on jaguar_client