pub_switch 1.1.1
pub_switch: ^1.1.1 copied to clipboard
很容易 Git 依赖和 Path 依赖的命令行程序
We analyzed this package 7 days 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 50 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.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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.dartthat imports:package:process_run/shell.dartthat imports:package:process_run/utils/process_result_extension.dartthat imports:package:process_run/src/lines_utils.dartthat imports:package:process_run/src/lines_utils_common.dartthat imports:package:process_run/src/common/import.dartthat imports:package:process_run/src/common/dartbin.dartthat imports:package:process_run/src/dartbin_impl.dartthat imports:package:process_run/src/user_config.dartthat imports:package:process_run/src/shell_utils.dartthat imports:package:process_run/src/shell_utils_common.dartthat imports:package:process_run/src/platform/platform.dartthat imports:package:process_run/src/platform/platform_stub.dartthat imports:package:process_run/src/shell_context_common.dartthat imports:package:process_run/src/shell_common.dartthat imports:package:process_run/src/io/io_import.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:pub_switch/pub_switch.dartthat imports:package:process_run/shell.dartthat imports:package:process_run/utils/process_result_extension.dartthat imports:package:process_run/src/lines_utils.dartthat imports:package:process_run/src/lines_utils_common.dartthat imports:package:process_run/src/common/import.dartthat imports:package:process_run/src/common/dartbin.dartthat imports:package:process_run/src/dartbin_impl.dartthat imports:package:process_run/src/user_config.dartthat imports:package:process_run/src/shell_utils.dartthat imports:package:process_run/src/shell_utils_common.dartthat imports:package:process_run/src/platform/platform.dartthat imports:package:process_run/src/platform/platform_stub.dartthat imports:package:process_run/src/shell_context_common.dartthat imports:package:process_run/src/shell_common.dartthat imports:package:process_run/src/io/io_import.dartthat 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.cn/web/wasm for details.
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 | Notes |
|---|---|---|---|---|
args |
^2.3.1 |
2.7.0 | 2.7.0 | |
darty_json_safe |
^0.2.0 |
0.2.0 | 1.0.3 | |
mustache_template |
^2.0.0 |
2.0.2 | 2.0.2 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 | |
process_run |
^0.12.3+2 |
0.12.5+3 | 1.2.4 | |
pubspec |
^2.3.0 |
2.3.0 | 2.3.0 | Discontinued |
pubspec_lock_copy |
^3.0.0 |
3.0.2 | 3.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
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 | |
functional_data |
- | 1.2.0 | 1.2.0 | |
json2yaml |
- | 3.0.1 | 3.0.1 | |
matcher |
- | 0.12.17 | 0.12.17 | |
meta |
- | 1.17.0 | 1.17.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 | |
sum_types |
- | 0.3.5 | 0.4.0 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
uri |
- | 1.0.0 | 1.0.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
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.23.0, Dart 3.9.4.
Check the analysis log for details.