dz_http 0.14.2-dev
dz_http: ^0.14.2-dev copied to clipboard
A composable, multi-platform, Future-based API for HTTP requests.
We analyzed this package 18 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
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: dz_http
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: dz_http
.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
106 out of 123 API elements (86.2 %) have documentation comments.
Some symbols that are missing documentation: browser_client
, browser_client.BrowserClient.BrowserClient.new
, http.BaseClient.BaseClient.new
, http.BaseRequest.BaseRequest.new
, http.BaseRequest.headers
.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package not compatible with platform Android
Because:
package:dz_http/browser_client.dart
that imports:package:dz_http/src/browser_client.dart
that imports:dart:html
Package not compatible with platform iOS
Because:
package:dz_http/browser_client.dart
that imports:package:dz_http/src/browser_client.dart
that imports:dart:html
Package not compatible with platform Windows
Because:
package:dz_http/browser_client.dart
that imports:package:dz_http/src/browser_client.dart
that imports:dart:html
Package not compatible with platform Linux
Because:
package:dz_http/browser_client.dart
that imports:package:dz_http/src/browser_client.dart
that imports:dart:html
Package not compatible with platform macOS
Because:
package:dz_http/browser_client.dart
that imports:package:dz_http/src/browser_client.dart
that imports:dart:html
Package not compatible with platform Web
Because:
package:dz_http/io_client.dart
that imports:package:dz_http/src/io_streamed_response.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dz_http/browser_client.dart
that imports:package:dz_http/src/browser_client.dart
that imports:dart:html
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Dangling library doc comment.
lib/http.dart:5:1
╷
5 │ /// A composable, [Future]-based library for making HTTP requests.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/http.dart
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/src/browser_client.dart:6:1
╷
6 │ import 'dart:html';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/browser_client.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 | |
meta |
^1.3.0 |
1.16.0 | 1.16.0 | |
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.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Dart 3.7.2
.
Check the analysis log for details.