dswitch 4.7.5 copy "dswitch: ^4.7.5" to clipboard
dswitch: ^4.7.5 copied to clipboard

DSwitch is a cli tool that allows you to rapidly switch between channels and versions of Dart. You can also pin a channel to a specific version.

120/ 160
pub points
292
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1 out of 2 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: dswitch.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

lib/src/channel.dart:147:36

    ╷
147 │   /// Channel Symlink - ~/.dswitch/<channel>
    │                                    ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/channel.dart

/tmp/pana_NTYJGY/lib/src/channel.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
archive ^3.1.2 3.6.1 4.0.7
args ^2.1.1 2.7.0 2.7.0
dcli 1.22.7 1.22.7 8.2.0
dcli_core 1.22.7 1.22.7 8.0.0
meta ^1.0.0 1.17.0 1.17.0
path ^1.0.0 1.9.1 1.9.1
pub_semver ^2.0.0 2.2.0 2.2.0
pubspec2 ^2.0.0 2.4.2 4.0.0 Discontinued
scope ^3.0.0 3.0.0 5.1.0
settings_yaml ^3.5.1 3.5.1 8.3.1
system_info2 ^3.0.1 3.0.2 4.1.0
win32 2.0.5 2.0.5 5.15.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
basic_utils - 3.9.4 5.8.2
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.9.1 0.12.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csv - 5.1.1 6.0.0
dart_console - 1.0.0 4.1.2
equatable - 2.0.7 2.0.7
ffi - 1.2.1 2.1.4
file - 6.1.4 7.0.1
file_utils - 1.0.1 1.0.1 Discontinued
glob - 2.1.3 2.1.3
globbing - 1.0.0 1.0.0 Discontinued
http - 0.13.6 1.5.0
http_parser - 4.1.2 4.1.2
ini - 2.1.0 2.1.0
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
mime - 1.0.6 2.0.0
pointycastle - 3.9.1 4.0.0
posix - 2.2.3 6.0.3
random_string - 2.3.1 2.3.1
source_span - 1.10.1 1.10.1
stacktrace_impl - 2.3.0 2.3.0 Discontinued
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
validators2 - 3.0.0 5.0.0
vin_decoder - 0.2.1-nullsafety 0.2.1-nullsafety
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 9 issues. Showing the first 2:

The constraint `^3.1.2` on archive does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions archive to update the constraint.

The constraint `1.22.7` on dcli does not support the stable version `1.30.0`.

Try running dart pub upgrade --major-versions dcli to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • URI_DOES_NOT_EXIST - bin/dswitch_install.dart:17:8 - Target of URI doesn't exist: 'package:pubspec2/pubspec2.dart'.

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.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
120
points
292
downloads

Publisher

verified publisheronepub.flutter-io.cn

Weekly Downloads

DSwitch is a cli tool that allows you to rapidly switch between channels and versions of Dart. You can also pin a channel to a specific version.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

archive, args, dcli, dcli_core, meta, path, pub_semver, pubspec2, scope, settings_yaml, system_info2, win32

More

Packages that depend on dswitch