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 5 hours 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 443 API elements (32.3 %) have documentation comments.
Some symbols that are missing documentation: authorizationException
, authorizationException.AuthorizationException
, authorizationException.AuthorizationException.AuthorizationException
, 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 83 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 |
---|---|---|---|
color |
^3.0.0 |
3.0.0 | 3.0.0 |
crypto_keys |
^0.3.0 |
0.3.0+1 | 0.3.0+1 |
dio |
^4.0.4 |
4.0.6 | 5.7.0 |
dio_cache_interceptor |
^3.2.6 |
3.4.2 | 3.5.0 |
easy_enum |
^1.0.0 |
1.0.0 | 1.0.0 |
http_parser |
^4.0.0 |
4.1.1 | 4.1.1 |
image |
^3.1.0 |
3.3.0 | 4.3.0 |
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.2 |
retrofit |
^3.0.0 |
3.3.1 | 4.4.1 |
universal_io |
^2.0.4 |
2.2.2 | 2.2.2 |
yaml |
^3.1.0 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.6.1 | 3.6.1 |
args |
- | 2.6.0 | 2.6.0 |
asn1lib |
- | 1.5.8 | 1.5.8 |
async |
- | 2.12.0 | 2.12.0 |
boolean_selector |
- | 2.1.2 | 2.1.2 |
charcode |
- | 1.3.1 | 1.3.1 |
collection |
- | 1.19.1 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
http |
- | 1.2.2 | 1.2.2 |
js |
- | 0.7.1 | 0.7.1 |
matcher |
- | 0.12.17 | 0.12.17 |
meta |
- | 1.16.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
pointycastle |
- | 3.9.1 | 3.9.1 |
pub_semver |
- | 2.1.4 | 2.1.4 |
quiver |
- | 3.2.2 | 3.2.2 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.4.0 | 1.4.0 |
synchronized |
- | 3.3.0+3 | 3.3.0+3 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.3 | 0.7.3 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 3.0.7 | 4.5.1 |
web |
- | 1.1.0 | 1.1.0 |
x509 |
- | 0.2.4+3 | 0.2.4+3 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 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.1.0` on image does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions image
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.15
, Dart 3.5.4
.
Check the analysis log for details.