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.

85/ 160
pub points
16
downloads

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

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

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

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

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

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

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

85 out of 93 API elements (91.4 %) have documentation comments.

Some symbols that are missing documentation: balance_http.BalanceRequest.BalanceRequest.new, balance_http.Request.Request.new, browser_client, browser_client.BrowserBalanceClient.BrowserBalanceClient.new, io_client.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

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

Found 4 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

Failed report section
Support up-to-date dependencies
30 / 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
async ^2.5.0 2.13.0 2.13.0
http any 1.6.0 1.6.0
http_parser ^4.0.0 4.1.2 4.1.2
meta ^1.3.0 1.18.1 1.18.1
path ^1.8.0 1.9.1 1.9.1
pedantic ^1.10.0 1.11.1 1.11.1 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.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 package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • pedantic.

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.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
85
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

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