lb_discovery 1.1.5 copy "lb_discovery: ^1.1.5" to clipboard
lb_discovery: ^1.1.5 copied to clipboard

Logbot MDNS discovery service to scan and find nearby devices

120/ 160
pub points
54
downloads

We analyzed this package 2 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: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting lb_discovery... Discovering libraries... Linking elements... Precaching local docs for 1210978 elements... Initialized dartdoc with 1256 libraries Generating docs for library api.dart from package:lb_discovery/api.dart... Generating docs for library lb_discovery.dart from package:lb_discovery/lb_discovery.dart... Documented 2 public libraries in 57.1 seconds ERR: warning: logbot.sdk.discovery has no library level documentation comments from logbot.sdk.discovery: (file:///tmp/pana_RKRMQW/lib/api.dart:1:1) warning: logbot.sdk.discovery has no library level documentation comments from logbot.sdk.discovery: (file:///tmp/pana_RKRMQW/lib/lb_discovery.dart:1:1) error: file already written at "logbot.sdk.discovery/index.html" for symbol logbot.sdk.discovery: (file:///tmp/pana_RKRMQW/lib/lb_discovery.dart:1:1) conflicting with file already generated by logbot.sdk.discovery: (file:///tmp/pana_RKRMQW/lib/api.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'logbot.sdk.discovery' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [16 more lines]

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 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

SDK issues found:

Package is not compatible with the Dart SDK.

Because:

  • lb_discovery that depends on:
  • lb_auth that depends on:
  • lb_commons that is a package requiring flutter.
  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:lb_discovery/lb_discovery.dart that imports:
  • package:lb_discovery/src/utils_service.dart that imports:
  • package:lb_discovery/api.dart that imports:
  • package:lb_discovery/src/mdns_service.dart that imports:
  • package:nsd/nsd.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:lb_discovery/lb_discovery.dart that imports:
  • package:lb_discovery/src/utils_service.dart that imports:
  • package:lb_discovery/api.dart that imports:
  • package:lb_discovery/src/mdns_service.dart that imports:
  • package:nsd/nsd.dart that declares support for platforms: Android, iOS, Windows, macOS.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

WARNING: The value of the local variable 'bundleId' isn't used.

lib/src/mdns_service.dart:63:22

   ╷
63 │         final String bundleId =
   │                      ^^^^^^^^
   ╵

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

INFO: The part-of directive uses a library name.

lib/api/discovery_api.dart:15:1

   ╷
15 │ part of logbot.sdk.discovery;
   │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/api/discovery_api.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
collection ^1.16.0 1.19.1 1.19.1
connectivity_plus ^2.3.9 2.3.9 7.0.0
http ^1.1.0 1.6.0 1.6.0
intl ^0.18.1 0.18.1 0.20.2
lb_auth ^1.1.0 1.1.0 1.1.0
lb_commons ^1.1.0 1.1.0 1.1.0
lb_core ^1.2.0 1.2.1 1.2.1
meta ^1.1.8 1.17.0 1.18.1
multicast_dns ^0.3.2+3 0.3.3 0.3.3
mutex ^3.0.0 3.1.0 3.1.0
nsd ^2.2.3 2.3.1 4.1.0
plugin_platform_interface ^2.1.3 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
connectivity_plus_linux - 1.3.1 1.3.1 Discontinued
connectivity_plus_macos - 1.2.6 1.2.6 Discontinued
connectivity_plus_platform_interface - 1.2.4 2.0.1
connectivity_plus_web - 1.2.5 1.2.5 Discontinued
connectivity_plus_windows - 1.2.2 1.2.2 Discontinued
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dbus - 0.7.12 0.7.12
ffi - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
jwt_decoder - 2.0.1 2.0.1
logger - 2.6.2 2.6.2
material_color_utilities - 0.11.1 0.13.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
nsd_android - 1.2.2 2.2.0
nsd_ios - 1.0.3 2.0.1
nsd_macos - 1.0.3 2.0.1
nsd_platform_interface - 1.6.0 2.2.0
nsd_windows - 2.0.1 3.0.1
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
provider - 6.1.5+1 6.1.5+1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

Found 3 issues. Showing the first 2:

The constraint `^2.3.9` on connectivity_plus does not support the stable version `3.0.0`.

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

The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl 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.23.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
54
downloads

Publisher

verified publisherlogbot.cloud

Weekly Downloads

Logbot MDNS discovery service to scan and find nearby devices

Homepage

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

collection, connectivity_plus, http, intl, lb_auth, lb_commons, lb_core, meta, multicast_dns, mutex, nsd, plugin_platform_interface

More

Packages that depend on lb_discovery