telegram_client 0.8.24 telegram_client: ^0.8.24 copied to clipboard
Telegram Client Lightweight, blazing and Highly customizable for make application telegram based tdlib, mtproto, or bot api and support server side.
We analyzed this package 15 hours ago, and awarded it 110 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
489 out of 1034 API elements (47.3 %) have documentation comments.
Some symbols that are missing documentation: add_sticker_to_set
, answer_callback_query
, answer_custom_query
, answer_inline_query
, answer_pre_checkout_query
.
10/10 points: Package has an example and has no issues with screenshots
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:telegram_client/telegram_client.dart
that imports:package:telegram_client/telegram_client/telegram_client.dart
that imports:package:telegram_client/telegram_client/update/update.dart
that imports:package:telegram_client/telegram_client/update/message.dart
that imports:package:telegram_client/util/util.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:telegram_client/telegram_client.dart
that imports:package:telegram_client/telegram_client/telegram_client.dart
that imports:package:telegram_client/telegram_client/update/update.dart
that imports:package:telegram_client/telegram_client/update/message.dart
that imports:package:telegram_client/util/util.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 78 issues. Showing the first 2:
WARNING: The diagnostic 'camel_case_extensions' doesn't need to be ignored here because it's already being ignored.
lib/dart_scheme/mtproto_client.dart:33:75
╷
33 │ // ignore_for_file: non_constant_identifier_names, camel_case_extensions, camel_case_extensions empty_catches
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dart_scheme/mtproto_client.dart
WARNING: The diagnostic 'camel_case_extensions' doesn't need to be ignored here because it's already being ignored.
lib/dart_scheme/tdlib_client.dart:33:75
╷
33 │ // ignore_for_file: non_constant_identifier_names, camel_case_extensions, camel_case_extensions empty_catches, unnecessary_brace_in_string_interps, constant_identifier_names,
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dart_scheme/tdlib_client.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.18.0 |
1.19.0 | 1.19.0 |
ffi |
^2.1.2 |
2.1.3 | 2.1.3 |
general_lib |
^0.0.44 |
0.0.45 | 0.0.46 |
http |
>=1.1.2 <=2.1.2 |
1.2.2 | 1.2.2 |
mason_logger |
^0.2.15 |
0.2.16 | 0.3.1 |
mime |
^1.0.5 |
1.0.6 | 1.0.6 |
path |
^1.9.0 |
1.9.0 | 1.9.0 |
server_universe |
^0.0.19 |
0.0.20 | 0.0.22 |
universal_io |
^2.2.2 |
2.2.2 | 2.2.2 |
web_ffi |
^0.7.2 |
0.7.2 | 0.7.2 |
yaml |
^3.1.2 |
3.1.2 | 3.1.2 |
yaml_writer |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 74.0.0 |
analyzer |
- | 6.4.1 | 6.9.0 |
archive |
- | 3.6.1 | 3.6.1 |
args |
- | 2.5.0 | 2.5.0 |
asn1lib |
- | 1.5.5 | 1.5.5 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
build |
- | 2.4.1 | 2.4.1 |
built_collection |
- | 5.1.1 | 5.1.1 |
built_value |
- | 8.9.2 | 8.9.2 |
clock |
- | 1.1.1 | 1.1.1 |
code_builder |
- | 4.10.0 | 4.10.0 |
console |
- | 4.1.0 | 4.1.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.5 | 3.0.5 |
dart_style |
- | 2.3.6 | 2.3.7 |
encrypt |
- | 5.0.3 | 5.0.3 |
file |
- | 7.0.0 | 7.0.0 |
fixnum |
- | 1.1.0 | 1.1.0 |
freezed_annotation |
- | 2.4.4 | 2.4.4 |
glob |
- | 2.1.2 | 2.1.2 |
http_parser |
- | 4.1.0 | 4.1.0 |
io |
- | 1.0.4 | 1.0.4 |
js |
- | 0.6.7 | 0.7.1 |
json_annotation |
- | 4.9.0 | 4.9.0 |
logging |
- | 1.2.0 | 1.2.0 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
meta |
- | 1.14.0 | 1.16.0 |
mime_type |
- | 1.0.1 | 1.0.1 |
package_config |
- | 2.1.0 | 2.1.0 |
pointycastle |
- | 3.9.1 | 3.9.1 |
pub_semver |
- | 2.1.4 | 2.1.4 |
queue |
- | 3.1.0+2 | 3.1.0+2 |
recase |
- | 4.1.0 | 4.1.0 |
source_gen |
- | 1.5.0 | 1.5.0 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.3.0 | 1.3.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.3 | 0.7.3 |
ts2dart |
- | 0.0.6+1 | 0.0.6+1 |
typed_data |
- | 1.3.2 | 1.3.2 |
typings |
- | 0.0.6+3 | 0.0.6+3 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 1.1.0 | 1.1.0 |
web |
- | 1.0.0 | 1.0.0 |
win32 |
- | 5.5.4 | 5.5.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.2.15` on mason_logger does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions mason_logger
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 40 errors:
UNDEFINED_NAMED_PARAMETER
-bin/generate_templates.dart:30:11
- The named parameter 'scriptGeneratorOptions' isn't defined.UNDEFINED_FUNCTION
-bin/generate_templates.dart:30:35
- The function 'ScriptGeneratorOptions' isn't defined.NOT_ENOUGH_POSITIONAL_ARGUMENTS
-lib/mtproto/mtproto_core.dart:299:7
- 3 positional arguments expected by 'on', but 0 found.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.12
, Dart 3.5.2
.
Check the analysis log for details.