dswitch 6.0.0 copy "dswitch: ^6.0.0" to clipboard
dswitch: ^6.0.0 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
223
downloads

We analyzed this package 3 days 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

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/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:149:36

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

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

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.3.8 3.6.1 4.0.9
args ^2.1.1 2.7.0 2.7.0
dcli ^4.0.0-alpha.7 4.0.5 9.0.0
dcli_core ^4.0.0-alpha.7 4.0.7 9.0.0
meta ^1.0.0 1.18.3 1.18.3
path ^1.0.0 1.9.1 1.9.1
pub_semver ^2.0.0 2.2.0 2.2.0
pubspec_manager ^1.0.0-alpha.15 1.0.3 4.0.1
scope ^4.0.1 4.1.1 5.1.0
settings_yaml ^8.0.1 8.3.1 8.3.1
system_info2 ^4.0.0 4.1.0 4.1.0
win32 ^4.1.4 4.1.4 6.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.13.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csv - 6.0.0 8.0.0
dart_console - 4.1.4 5.0.0
dcli_common - 4.0.3 9.0.0
dcli_terminal - 4.0.3 9.0.0
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
functional_data - 1.2.0 1.2.0
glob - 2.1.3 2.1.3
globbing - 1.0.0 1.0.0 Discontinued
ini - 2.1.0 2.1.0
intl - 0.20.2 0.20.2
json2yaml - 3.0.1 3.0.1
lists - 1.0.1 1.0.1 Discontinued
logging - 1.3.0 1.3.0
mime - 1.0.6 2.0.0
native_synchronization - 0.2.0 0.3.1
posix - 6.5.0 6.5.0
pubspec_lock - 3.0.2 3.0.2
runtime_named_locks - 1.0.0-beta.6 1.0.0-beta.6
runtime_native_semaphores - 1.0.0-beta.6 1.0.0-beta.6
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
strings - 3.1.2 4.0.1
sum_types - 0.3.5 0.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.9
uuid - 4.5.3 4.5.3
validators2 - 5.1.0 5.1.0
yaml - 3.1.3 3.1.3

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

Found 6 issues. Showing the first 2:

The constraint `^3.3.8` 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 `^4.0.0-alpha.7` on dcli does not support the stable version `5.0.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:

  • UNDEFINED_METHOD - lib/src/releases.dart:46:11 - The method 'withTempFileAsync' isn't defined for the type 'Release'.

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.23.12, Dart 3.12.1.

Check the analysis log for details.

Weekly downloads

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

Documentation

Documentation
API reference

Publisher

verified publisheronepub.dev

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

License

MIT (license)

Dependencies

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

More

Packages that depend on dswitch