dartssh2 2.11.0 copy "dartssh2: ^2.11.0" to clipboard
dartssh2: ^2.11.0 copied to clipboard

SSH and SFTP client written in pure Dart, aiming to be feature-rich as well as easy to use.

125
likes
150/ 160
pub points
4.13k
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

242 out of 565 API elements (42.8 %) have documentation comments.

Some symbols that are missing documentation: dartssh2, dartssh2.DoneFuture.done, dartssh2.OpenSSHBcryptKdfOptions, dartssh2.OpenSSHBcryptKdfOptions.OpenSSHBcryptKdfOptions, dartssh2.OpenSSHBcryptKdfOptions.OpenSSHBcryptKdfOptions.decode.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

Package not compatible with runtime wasm

Because:

  • package:dartssh2/dartssh2.dart that imports:
  • package:dartssh2/src/http/http_client.dart that imports:
  • package:dartssh2/src/ssh_client.dart that imports:
  • package:dartssh2/src/socket/ssh_socket.dart that imports:
  • package:dartssh2/src/socket/ssh_socket_io.dart that 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.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Statements in an if should be enclosed in a block.

lib/src/http/http_content_type.dart:251:41

    ╷
251 │             char == parameterSeparator) break;
    │                                         ^^^^^^
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/http/http_content_type.dart:283:39

    ╷
283 │               char == valueSeparator) break;
    │                                       ^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
asn1lib ^1.5.3 1.5.8 1.5.8
convert ^3.1.1 3.1.2 3.1.2
meta ^1.15.0 1.16.0 1.16.0
pinenacl ^0.6.0 0.6.0 0.6.0
pointycastle ^3.9.1 3.9.1 3.9.1
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
js - 0.7.1 0.7.1
typed_data - 1.4.0 1.4.0

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

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.17, Dart 3.6.0.

Check the analysis log for details.

125
likes
150
points
4.13k
downloads

Publisher

verified publisherterminal.studio

Weekly Downloads

SSH and SFTP client written in pure Dart, aiming to be feature-rich as well as easy to use.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

asn1lib, convert, meta, pinenacl, pointycastle

More

Packages that depend on dartssh2