yt 1.2.3
yt: ^1.2.3 copied to clipboard
Native Dart interface to multiple YouTube REST APIs including the Data API, Live Streaming API and Cloud Vision API.
We analyzed this package 2 days ago, and awarded it 130 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
143 out of 463 API elements (30.9 %) have documentation comments.
Some symbols that are missing documentation: authorizationException
, authorizationException.AuthorizationException
, authorizationException.AuthorizationException.AuthorizationException.new
, authorizationException.AuthorizationException.err
, authorizationException.AuthorizationException.msg
.
10/10 points: Package has 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:yt/yt.dart
that imports:package:yt/util/tokenGenerator.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_browser.dart
that imports:package:universal_io/src/internet_address.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:yt/yt.dart
that imports:package:yt/util/tokenGenerator.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_vm.dart
that imports:package:universal_io/src/new_universal_http_client.dart
that imports:package:universal_io/src/_helpers.dart
that imports:package:universal_io/src/_helpers_impl_elsewhere.dart
that 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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 140 issues. Showing the first 2:
WARNING: Duplicate import.
lib/src/model/vision/faceAnnotation.dart:8:8
╷
8 │ import 'boundingPoly.dart';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/vision/faceAnnotation.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/channels.dart:33:7
╷
33 │ ┌ return _rest.authList('Bearer $token', accept, buildParts(partList, part),
34 │ │ categoryId: categoryId,
35 │ │ forUsername: forUsername,
36 │ │ id: id,
37 │ │ managedByMe: managedByMe,
38 │ │ mine: mine,
39 │ │ hl: hl,
40 │ │ maxResults: maxResults,
41 │ │ onBehalfOfContentOwner: onBehalfOfContentOwner,
42 │ └ pageToken: pageToken);
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/channels.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
color |
^3.0.0 |
3.0.0 | 3.0.0 | |
crypto_keys |
^0.3.0 |
0.3.0+2 | 0.3.0+2 | |
dio |
^4.0.4 |
4.0.6 | 5.8.0+1 | |
dio_cache_interceptor |
^3.2.6 |
3.4.2 | 4.0.3 | |
easy_enum |
^1.0.0 |
1.0.0 | 1.0.0 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 | |
image |
^3.1.0 |
3.3.0 | 4.5.4 | |
jose |
^0.3.2 |
0.3.4 | 0.3.4 | |
json_annotation |
^4.4.0 |
4.9.0 | 4.9.0 | |
process_run |
^0.12.3+1 |
0.12.5+3 | 1.2.4 | |
retrofit |
^3.0.0 |
3.3.1 | 4.5.0 | |
universal_io |
^2.0.4 |
2.2.2 | 2.2.2 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
http |
- | 1.4.0 | 1.4.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.0 | 7.0.0 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.6 | 0.7.6 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.1 | |
web |
- | 1.1.1 | 1.1.1 | |
x509 |
- | 0.2.4+3 | 0.2.4+3 | |
xml |
- | 6.6.0 | 6.6.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^3.2.6` on dio_cache_interceptor does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions dio_cache_interceptor
to update the constraint.
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.21
, Dart 3.8.1
.
Check the analysis log for details.