smb_connect 0.0.9 copy "smb_connect: ^0.0.9" to clipboard
smb_connect: ^0.0.9 copied to clipboard

Native SMB/CIFS client library written in Dart for Dart. Extremely fast, can be used for streaming music and video. Supported dialects: SMB 1.0, CIFS, SMB 2.0, SMB 2.1.

130/ 160
pub points
236
downloads

We analyzed this package 32 hours ago, and awarded it 130 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: Apache-2.0.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

0 out of 61 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: smb_connect, smb_connect.SmbConnect, smb_connect.SmbConnect.IPC_PATH, smb_connect.SmbConnect.IPC_SHARE, smb_connect.SmbConnect.SmbConnect.new.

Passed check 10/10 points: Package has an example

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

Passed check 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:smb_connect/smb_connect.dart that imports:
  • package:smb_connect/src/connect/smb_file.dart that imports:
  • package:smb_connect/src/utils/strings.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:smb_connect/smb_connect.dart that imports:
  • package:smb_connect/src/connect/smb_file.dart that imports:
  • package:smb_connect/src/utils/strings.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.

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

Found 46 issues. Showing the first 2:

INFO: The variable name 'SMB2_READFLAG_READ_UNBUFFERED' isn't a lowerCamelCase identifier.

lib/src/connect/impl/smb2/io/smb2_read_request.dart:14:14

   ╷
14 │   static int SMB2_READFLAG_READ_UNBUFFERED = 0x1;
   │              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/connect/impl/smb2/io/smb2_read_request.dart

INFO: The variable name 'SMB2_CHANNEL_NONE' isn't a lowerCamelCase identifier.

lib/src/connect/impl/smb2/io/smb2_read_request.dart:15:14

   ╷
15 │   static int SMB2_CHANNEL_NONE = 0x0;
   │              ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/connect/impl/smb2/io/smb2_read_request.dart

Failed report section
Support up-to-date dependencies
30 / 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
asn1lib ^1.5.2 1.6.5 1.6.5
charset ^2.0.1 2.0.1 2.0.1
crypto ^3.0.3 3.0.6 3.0.6
cryptography ^2.7.0 2.7.0 2.7.0
mutex ^3.1.0 3.1.0 3.1.0
pointycastle ^3.9.1 3.9.1 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
ffi - 2.1.4 2.1.4
js - 0.6.7 0.7.2 Discontinued
meta - 1.17.0 1.17.0
typed_data - 1.4.0 1.4.0

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

The constraint `^3.9.1` on pointycastle does not support the stable version `4.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
130
points
236
downloads

Publisher

unverified uploader

Weekly Downloads

Native SMB/CIFS client library written in Dart for Dart. Extremely fast, can be used for streaming music and video. Supported dialects: SMB 1.0, CIFS, SMB 2.0, SMB 2.1.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

asn1lib, charset, crypto, cryptography, mutex, pointycastle

More

Packages that depend on smb_connect