another_tus_client 3.2.6
another_tus_client: ^3.2.6 copied to clipboard
A web compatible tus client for dart allowing resumable uploads using the tus protocol.
We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
120 out of 146 API elements (82.2 %) have documentation comments.
Some symbols that are missing documentation: another_tus_client, another_tus_client.FileUtils.FileUtils.new, another_tus_client.ManagedUpload.ManagedUpload.new, another_tus_client.NativeWebXFile.NativeWebXFile.new, another_tus_client.ProtocolException.ProtocolException.new.
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
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:another_tus_client/another_tus_client.dartthat imports:package:another_tus_client/src/store.dartthat imports:package:another_tus_client/src/store/file_store.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:another_tus_client/another_tus_client.dartthat imports:package:another_tus_client/src/store.dartthat imports:package:another_tus_client/src/store/file_store.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/src/client.dart:79:11
╷
79 │ if (_file.length is Function) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client.dart
WARNING: Unnecessary type check; the result is always 'true'.
lib/src/client.dart:194:11
╷
194 │ if (_file.length is Function) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cross_file |
^0.3.4 |
0.3.5+1 | 0.3.5+1 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
http |
>=1.0.0 <2.0.0 |
1.6.0 | 1.6.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
speed_test_dart |
^1.0.5+0 |
1.0.5+0 | 1.0.5+0 | |
universal_io |
^2.2.2 |
2.3.1 | 2.3.1 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
sync |
- | 0.3.0 | 0.3.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xml |
- | 6.6.1 | 6.6.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.