dartdap 0.7.1 copy "dartdap: ^0.7.1" to clipboard
dartdap: ^0.7.1 copied to clipboard

LDAP v3 client library for Dart. Supports basic LDAP operations, add, delete, search, modify against any LDAP v3 compliant server.

13
likes
110/ 140
pub points
85%
popularity

We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 140):

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: BSD-2-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

125 out of 400 API elements (31.3 %) have documentation comments.

Some symbols that are missing documentation: dartdap.ConnectionManager.PENDING_OP_TIMEOUT, dartdap.ConnectionManager.connect, dartdap.ConnectionManager.sendLdapBytes, dartdap.Control.CONTROLS_TAG, dartdap.Control.isCritical.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:dartdap/dartdap.dart that imports:
  • package:dartdap/src/dartdap/core/core.dart that imports:
  • package:dartdap/src/dartdap/core/search_result.dart that imports:
  • package:dartdap/src/dartdap/core/ldap_result.dart that imports:
  • package:dartdap/src/dartdap/core/ldap_exception.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 29 issues. Showing the first 2:

WARNING: Doc directive 'link' is unknown.

lib/src/dartdap/control/sort_key.dart:9:7

  ╷
9 │ /// {@link org.forgerock.opendj.ldap.controls.ServerSideSortRequestControl}, but
  │       ^^^^
  ╵

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

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

lib/src/dartdap/client/ldap.dart:45:36

   ╷
45 │   Future<LdapResult> bind({String? DN, String? password});
   │                                    ^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
asn1lib ^1.5.2 1.5.2 1.5.2
collection ^1.18.0 1.18.0 1.18.0
logging ^1.0.0 1.2.0 1.2.0
petitparser ^5.4.0 5.4.0 6.0.2
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.12.0 1.12.0

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

The constraint `^5.4.0` on petitparser does not support the stable version `6.0.0`.

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

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

Analyzed with Pana 0.22.2, Dart 3.3.0.

Check the analysis log for details.

13
likes
110
pub points
85%
popularity

Publisher

unverified uploader

LDAP v3 client library for Dart. Supports basic LDAP operations, add, delete, search, modify against any LDAP v3 compliant server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

asn1lib, collection, logging, petitparser

More

Packages that depend on dartdap