lib5 0.2.0 copy "lib5: ^0.2.0" to clipboard
lib5: ^0.2.0 copied to clipboard

Base library for S5.

0
likes
100/ 140
pub points
59%
popularity

We analyzed this package 6 hours ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting lib5... Discovering libraries... Linking elements... Precaching local docs for 638185 elements... Initialized dartdoc with 461 libraries Generating docs for library constants.dart from package:lib5/constants.dart... Generating docs for library util.dart from package:lib5/util.dart... Generating docs for library registry.dart from package:lib5/registry.dart... Generating docs for library encryption.dart from package:lib5/encryption.dart... Generating docs for library lib5.dart from package:lib5/lib5.dart... [4 more lines] ERR: warning: ambiguous reexport of entry.SignedRegistryEntry, canonicalization candidates: (lib5, lib5) -> lib5 (confidence 0.000) from entry.SignedRegistryEntry: (file:///tmp/pana_XIBNZY/lib/src/registry/entry.dart:10:7) lib5: 1.178 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) lib5: 1.178 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor entry.SignedRegistryEntry} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [69 more lines]

10/10 points: Package has an example

OK
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
failed
Pass static analysis
30 / 50trigger folding of the section

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 'isConnected' isn't used.

lib/src/node/service/p2p.dart:292:21

    ╷
292 │               final isConnected = u.unpackBool()!;
    │                     ^^^^^^^^^^^
    ╵

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

INFO: Dangling library doc comment.

lib/src/seed/seed.dart:1:1

  ╷
1 │ /// MIT License
  │ ^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
base_codecs ^1.0.1 1.0.1 1.0.1
convert ^3.1.1 3.1.1 3.1.1
http ^1.0.0 1.2.1 1.2.1
http_parser ^4.0.2 4.0.2 4.0.2
mime ^1.0.4 1.0.5 1.0.5
s5_msgpack ^0.3.0 0.3.0 0.3.0
tint ^2.0.1 2.0.1 2.0.1
web_socket_channel ^2.4.0 2.4.5 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

The constraint `^2.4.0` on web_socket_channel does not support the stable version `3.0.0`, that was published 11 days ago.

When web_socket_channel is 30 days old, this package will no longer be awarded points in this category.

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.