bolt 0.1.0-dev.2 copy "bolt: ^0.1.0-dev.2" to clipboard
bolt: ^0.1.0-dev.2 copied to clipboard

Bolt, a lightning fast, strongly typed network protocol

15
likes
120/ 160
pub points
0%
popularity

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

286 out of 334 API elements (85.6 %) have documentation comments.

Some symbols that are missing documentation: bolt.Uint8List.bytesPerElement, bolt.backgroundBlack, bolt.backgroundBlue, bolt.backgroundCyan, bolt.backgroundDarkGray.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:bolt/bolt.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:bolt/bolt.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:bolt/bolt.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:bolt/bolt.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:bolt/bolt.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:bolt/bolt.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/io.dart that imports:
  • package:io/io.dart that imports:
  • package:io/src/shared_stdin.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/protocol/data_resolver.dart:98:26

   ╷
98 │   bool get isNullable => type is PayloadType<V?>;
   │                          ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Unnecessary override.

lib/src/server/message.dart:27:9

   ╷
27 │   T get data => super.data;
   │         ^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
async ^2.10.0 2.12.0 2.12.0
binarize ^1.3.1 1.5.0 1.5.0
collection ^1.16.0 1.19.1 1.19.1
equatable ^2.0.5 2.0.5 2.0.5
mason_logger ^0.2.2 0.2.16 0.3.1
meta ^1.8.0 1.16.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest
ffi - 2.1.3 2.1.3
io - 1.0.4 1.0.4
path - 1.9.1 1.9.1
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
win32 - 5.8.0 5.8.0

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

The constraint `^0.2.2` on mason_logger does not support the stable version `0.3.0`.

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

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.15, Dart 3.5.4.

Check the analysis log for details.

15
likes
120
pub points
0%
popularity

Publisher

verified publisherwolfenra.in

Bolt, a lightning fast, strongly typed network protocol

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, binarize, collection, equatable, mason_logger, meta

More

Packages that depend on bolt