balance_http 0.1.0 copy "balance_http: ^0.1.0" to clipboard
balance_http: ^0.1.0 copied to clipboard

A composable, multi-platform, Future-based API for HTTP requests.

1
likes
75/ 140
pub points
0%
popularity

We analyzed this package 8 days ago, and awarded it 75 pub points (of a possible 140):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.
  • pubspec.yaml doesn't have a repository entry.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:14:49

   ╷
14 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
   │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

84 out of 89 API elements (94.4 %) have documentation comments.

Some symbols that are missing documentation: balance_http.BalanceRequest.headers, browser_client, io_client, io_client.IOStreamedResponse.isRedirect, retry_client.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: The class 'Client' can't be extended outside of its library because it's an interface class.

lib/src/client.dart:26:38

   ╷
26 │ abstract class BalanceClient extends http.Client {
   │                                      ^^^^^^^^^^^
   ╵

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

WARNING: Unused import: 'package:balance_http/src/base_request.dart'.

lib/src/base_client.dart:8:8

  ╷
8 │ import 'package:balance_http/src/base_request.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
async ^2.5.0 2.11.0 2.11.0
http any 1.2.1 1.2.1
http_parser ^4.0.0 4.0.2 4.0.2
meta ^1.3.0 1.14.0 1.14.0
path ^1.8.0 1.9.0 1.9.0
pedantic ^1.10.0 1.11.1 1.11.1
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

1
likes
75
pub points
0%
popularity

Publisher

unverified uploader

A composable, multi-platform, Future-based API for HTTP requests.

Documentation

API reference

License

MIT (LICENSE)

Dependencies

async, http, http_parser, meta, path, pedantic

More

Packages that depend on balance_http