dswitch 6.0.0
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.
We analyzed this package 14 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
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.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 85 issues. Showing the first 2:
INFO: Don't invoke 'print' in production code.
bin/dswitch.dart:61:5
╷
61 │ print(e.usage);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/dswitch.dart
INFO: Don't invoke 'print' in production code.
bin/dswitch.dart:80:9
╷
80 │ print(red('''
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/dswitch.dart
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.7 | |
args |
^2.1.1 |
2.7.0 | 2.7.0 | |
dcli |
^4.0.0-alpha.7 |
4.0.5 | 8.2.0 | |
dcli_core |
^4.0.0-alpha.7 |
4.0.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 | |
pubspec_manager |
^1.0.0-alpha.15 |
1.0.3 | 3.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 | 5.15.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
chunked_stream |
- | 1.4.2 | 1.4.2 | |
circular_buffer |
- | 0.11.0 | 0.12.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.6 | 3.0.6 | |
csv |
- | 6.0.0 | 6.0.0 | |
dart_console |
- | 4.1.2 | 4.1.2 | |
dcli_common |
- | 4.0.3 | 8.0.0 | |
dcli_terminal |
- | 4.0.3 | 8.0.0 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
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.0.3 | 6.0.3 | |
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.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
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.8 | |
uuid |
- | 4.5.1 | 4.5.1 | |
validators2 |
- | 5.0.0 | 5.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 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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_METHOD-lib/src/releases.dart:46:11- The method 'withTempFileAsync' isn't defined for the type 'Release'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/releases.dart:47:55- The argument type 'dynamic' can't be assigned to the parameter type 'String'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/releases.dart:49:26- The argument type 'dynamic' can't be assigned to the parameter type 'String'.
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.