qiniu_sdk_base 0.5.2 qiniu_sdk_base: ^0.5.2 copied to clipboard
The sdk basic of Qiniu products
We analyzed this package 13 days ago, and awarded it 90 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
85 out of 182 API elements (46.7 %) have documentation comments.
Some symbols that are missing documentation: qiniu_sdk_base
, qiniu_sdk_base.CacheProvider
, qiniu_sdk_base.CacheProvider.CacheProvider
, qiniu_sdk_base.Config
, qiniu_sdk_base.Config.Config
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:qiniu_sdk_base/qiniu_sdk_base.dart
that imports:package:qiniu_sdk_base/src/storage/storage.dart
that imports:package:qiniu_sdk_base/src/storage/resource/resource.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 19 issues. Showing the first 2:
INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.
lib/src/storage/error/error.dart:51:37
╷
51 │ factory StorageError.fromDioError(DioError error) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/storage/error/error.dart
INFO: 'DioErrorType' is deprecated and shouldn't be used. Use DioExceptionType instead. This will be removed in 6.0.0.
lib/src/storage/error/error.dart:68:35
╷
68 │ StorageErrorType _mapDioErrorType(DioErrorType type) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/storage/error/error.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
crypto |
^3.0.0 |
3.0.3 | 3.0.3 |
dio |
^5.0.0 |
5.4.3+1 | 5.4.3+1 |
meta |
^1.3.0 |
1.14.0 | 1.14.0 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
uuid |
^3.0.5 |
3.0.7 | 4.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
collection |
- | 1.18.0 | 1.18.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
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
.
The constraint `^3.0.5` on uuid does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions uuid
to update the constraint.
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.