yx_tool 0.1.2
yx_tool: ^0.1.2 copied to clipboard
Contains a series of commonly used toolkits, including encryption and decryption modules, id generation, date processing, extension methods of basic classes...
We analyzed this package 39 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: BSD-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
644 out of 748 API elements (86.1 %) have documentation comments.
Some symbols that are missing documentation: yx_date
, yx_extension
, yx_io
, yx_lang
, yx_security
.
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:yx_tool/yx_tool.dart
that imports:package:yx_tool/yx_io.dart
that imports:package:yx_tool/src/core/io/checksum/crc16.dart
that imports:package:yx_tool/src/core/util/str_util.dart
that imports:package:yx_tool/yx_util.dart
that imports:package:yx_tool/src/core/util/system_util.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:yx_tool/yx_tool.dart
that imports:package:yx_tool/yx_io.dart
that imports:package:yx_tool/src/core/io/checksum/crc16.dart
that imports:package:yx_tool/src/core/util/str_util.dart
that imports:package:yx_tool/yx_util.dart
that imports:package:yx_tool/src/core/util/system_util.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 3 issues. Showing the first 2:
WARNING: Doc directive 'code' is unknown.
lib/src/core/lang/uuid.dart:109:9
╷
109 │ /// {@code clockSequence} 值仅在基于时间的 UUID(其 version 类型为 1)中才有意义。 如果此 UUID 不是基于时间的 UUID,则此方法抛出 UnsupportedOperationException。
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/lang/uuid.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/core/util/str_util.dart:526:22
╷
526 │ /// 使用默认的utf8转换List<int>数据为字符串
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/util/str_util.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
pointycastle |
^3.6.0 |
3.9.1 | 4.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.6.0` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle
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.23
, Dart 3.9.2
.
Check the analysis log for details.