work 5.1.1 work: ^5.1.1 copied to clipboard
Encapsulate http business interface protocol, provide limited extension functions, isolate the underlying implementation method of http (currently based on dio).
We analyzed this package 13 hours ago, and awarded it 120 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
345 out of 418 API elements (82.5 %) have documentation comments.
Some symbols that are missing documentation: work
, work.BaseOptions.contentType
, work.BaseOptions.extra
, work.BaseOptions.followRedirects
, work.BaseOptions.headers
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: 'MultipartFile.new' is deprecated and shouldn't be used. MultipartFile.clone() will not work when the stream is provided, use the MultipartFile.fromStream instead.This will be removed in 6.0.0.
lib/src/_convert_native.dart:21:16
╷
21 │ return MultipartFile(
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/_convert_native.dart
INFO: 'MultipartFile.new' is deprecated and shouldn't be used. MultipartFile.clone() will not work when the stream is provided, use the MultipartFile.fromStream instead.This will be removed in 6.0.0.
lib/src/_convert_web.dart:14:14
╷
14 │ return MultipartFile(
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/_convert_web.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio |
^5.1.1 |
5.4.3+1 | 5.4.3+1 |
http_parser |
^4.0.2 |
4.0.2 | 4.0.2 |
meta |
^1.8.0 |
1.15.0 | 1.15.0 |
mime |
^1.0.3 |
1.0.5 | 1.0.5 |
path |
^1.8.2 |
1.9.0 | 1.9.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
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 |
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.4.0
.
Check the analysis log for details.