pub_switch 1.1.0 pub_switch: ^1.1.0 copied to clipboard
很容易 Git 依赖和 Path 依赖的命令行程序
We analyzed this package 20 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
9 out of 11 API elements (81.8 %) have documentation comments.
Some symbols that are missing documentation: pub_switch
, pub_switch.runShell
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:pub_switch/pub_switch.dart
that imports:package:process_run/shell.dart
that imports:package:process_run/utils/process_result_extension.dart
that imports:package:process_run/src/lines_utils.dart
that imports:package:process_run/src/lines_utils_common.dart
that imports:package:process_run/src/common/import.dart
that imports:package:process_run/src/common/dartbin.dart
that imports:package:process_run/src/dartbin_impl.dart
that imports:package:process_run/src/user_config.dart
that imports:package:process_run/src/shell_utils.dart
that imports:package:process_run/src/shell_utils_common.dart
that imports:package:process_run/src/platform/platform.dart
that imports:package:process_run/src/platform/platform_stub.dart
that imports:package:process_run/src/shell_context_common.dart
that imports:package:process_run/src/shell_common.dart
that imports:package:process_run/src/io/io_import.dart
that imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
^2.3.1 |
2.5.0 | 2.5.0 |
darty_json_safe |
^0.2.0 |
0.2.0 | 1.0.3 |
mustache_template |
^2.0.0 |
2.0.0 | 2.0.0 |
path |
^1.8.2 |
1.9.0 | 1.9.0 |
process_run |
^0.12.3+2 |
0.12.5+3 | 1.0.0+1 |
pubspec |
^2.3.0 |
2.3.0 | 2.3.0 |
pubspec_lock_parse |
^2.1.0 |
2.2.0 | 2.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
charcode |
- | 1.3.1 | 1.3.1 |
checked_yaml |
- | 2.0.3 | 2.0.3 |
collection |
- | 1.19.0 | 1.19.0 |
json_annotation |
- | 4.9.0 | 4.9.0 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
meta |
- | 1.15.0 | 1.15.0 |
pub_semver |
- | 2.1.4 | 2.1.4 |
quiver |
- | 3.2.1 | 3.2.1 |
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.2.0 | 1.2.0 |
synchronized |
- | 3.1.0+1 | 3.1.0+1 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.2 | 0.7.2 |
uri |
- | 1.0.0 | 1.0.0 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.2.0` on darty_json_safe does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions darty_json_safe
to update the constraint.
The constraint `^0.12.3+2` on process_run does not support the stable version `0.13.0`.
Try running dart pub upgrade --major-versions process_run
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.7
, Dart 3.4.4
.
Check the analysis log for details.