pub_switch 1.1.1 copy "pub_switch: ^1.1.1" to clipboard
pub_switch: ^1.1.1 copied to clipboard

很容易 Git 依赖和 Path 依赖的命令行程序

0
likes
120/ 160
pub points
0%
popularity

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

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.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

OK
Platform support
20 / 20trigger folding of the section

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
OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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 0.14.2
pubspec ^2.3.0 2.3.0 2.3.0
pubspec_lock_copy ^3.0.0 3.0.2 3.0.2
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
collection - 1.19.0 1.19.0
functional_data - 1.2.0 1.2.0
json2yaml - 3.0.1 3.0.1
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
sum_types - 0.3.5 0.3.5
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.6, Dart 3.4.3.

Check the analysis log for details.

0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

很容易 Git 依赖和 Path 依赖的命令行程序

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, darty_json_safe, mustache_template, path, process_run, pubspec, pubspec_lock_copy

More

Packages that depend on pub_switch