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

Cap'n Proto is an extremely efficient protocol for sharing data and capabilities.

8
likes
80/ 160
pub points
51%
popularity

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

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

50 out of 215 API elements (23.3 %) have documentation comments.

Some symbols that are missing documentation: capnproto, capnproto.BoolList, capnproto.BoolList.data, capnproto.ByteBufferAsBoolList, capnproto.CapnpBoolList.

10/10 points: Package has an example

failed
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

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 33 issues. Showing the first 2:

ERROR: Undefined class 'UnmodifiableByteDataView'.

lib/src/objects/list.dart:203:3

    ╷
203 │   UnmodifiableByteDataView get data => UnmodifiableByteDataView(_list.data);
    │   ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The method 'UnmodifiableByteDataView' isn't defined for the type 'UnmodifiableBoolListView'.

lib/src/objects/list.dart:203:40

    ╷
203 │   UnmodifiableByteDataView get data => UnmodifiableByteDataView(_list.data);
    │                                        ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
basics ^0.6.0 0.6.0 0.10.0
collection ^1.15.0 1.19.1 1.19.1
dartx ^0.7.0 0.7.1 1.2.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.1 1.3.1
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
time - 2.1.5 2.1.5
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 `^0.6.0` on basics does not support the stable version `0.7.0`.

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

The constraint `^0.7.0` on dartx does not support the stable version `0.8.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 33 errors:

  • UNDEFINED_CLASS - lib/src/objects/list.dart:203:3 - Undefined class 'UnmodifiableByteDataView'.
  • UNDEFINED_METHOD - lib/src/objects/list.dart:203:40 - The method 'UnmodifiableByteDataView' isn't defined for the type 'UnmodifiableBoolListView'.
  • UNDEFINED_METHOD - lib/src/objects/list.dart:204:28 - The method 'UnmodifiableByteBufferView' isn't defined for the type 'UnmodifiableBoolListView'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

8
likes
80
pub points
51%
popularity

Publisher

verified publisherwanke.dev

Cap'n Proto is an extremely efficient protocol for sharing data and capabilities.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

basics, collection, dartx

More

Packages that depend on capnproto