dart_ipfs 0.1.0 copy "dart_ipfs: ^0.1.0" to clipboard
dart_ipfs: ^0.1.0 copied to clipboard

A Dart implementation of an IPFS server.

3
likes
130/ 160
pub points
44
downloads

We analyzed this package 6 days ago, and awarded it 130 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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/jxoesneon/IPFS/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: dart_ipfs,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

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

25 out of 68 API elements (36.8 %) have documentation comments.

Some symbols that are missing documentation: dart_ipfs, dart_ipfs.IPFS, dart_ipfs.IPFS.onNewContent, dart_ipfs.IPFSConfig.blockStorePath, dart_ipfs.IPFSConfig.customConfig.

10/10 points: Package has an example

failed
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:dart_ipfs/dart_ipfs.dart that imports:
  • package:dart_ipfs/src/core/config/ipfs_config.dart that imports:
  • package:dart_ipfs/src/utils/keystore.dart that imports:
  • package:p2plib/p2plib.dart that imports:
  • package:p2plib/src/transport/transport.dart that imports:
  • package:p2plib/src/data/data.dart that imports:
  • dart:isolate

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_ipfs/dart_ipfs.dart that imports:
  • package:dart_ipfs/src/core/config/ipfs_config.dart that imports:
  • package:dart_ipfs/src/utils/keystore.dart that imports:
  • package:p2plib/p2plib.dart that imports:
  • package:p2plib/src/transport/transport.dart that imports:
  • package:p2plib/src/data/data.dart that imports:
  • dart:isolate

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

Found 268 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/protocols/bitswap/bitswap.dart:283:7

    ╷
283 │       default:
    │       ^^^^^^^
    ╵

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

WARNING: This default clause is covered by the previous cases.

lib/src/protocols/bitswap/message.dart:144:7

    ╷
144 │       default:
    │       ^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
archive ^3.6.1 3.6.1 4.0.2
catalyst_cose ^0.3.0 0.3.0 0.3.0
cbor ^6.3.3 6.3.3 6.3.3
collection ^1.19.1 1.19.1 1.19.1
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.3 3.0.6 3.0.6
dart_merkle_lib ^1.0.1 1.0.1 1.0.1
dart_multihash ^1.0.1 1.0.1 1.0.1
fixnum ^1.1.1 1.1.1 1.1.1
hive ^2.2.3 2.2.3 2.2.3
http ^1.2.2 1.2.2 1.2.2
intl ^0.20.0 0.20.1 0.20.1
jose ^0.3.4 0.3.4 0.3.4
logging ^1.0.2 1.3.0 1.3.0
lz4 ^0.0.1 0.0.1 0.0.1
markdown ^7.2.2 7.2.2 7.2.2
meta ^1.16.0 1.16.0 1.16.0
mime ^2.0.0 2.0.0 2.0.0
multibase ^1.0.0 1.0.0 1.0.0
multicast_dns ^0.3.2+7 0.3.2+7 0.3.2+7
murmurhash ^1.0.1 1.0.1 1.0.1
p2plib ^2.2.2 2.2.2+1 2.2.2+1
path ^1.9.1 1.9.1 1.9.1
pointycastle ^3.7.3 3.9.1 3.9.1
prometheus_client ^1.0.0+1 1.0.0+1 1.0.0+1
protobuf ^3.1.0 3.1.0 3.1.0
shelf ^1.4.2 1.4.2 1.4.2
shelf_router ^1.1.4 1.1.4 1.1.4
synchronized ^3.3.0+3 3.3.0+3 3.3.0+3
uuid ^4.5.1 4.5.1 4.5.1
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
base_x - 2.0.1 2.0.1
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
crypto_keys - 0.3.0+1 0.3.0+1
cryptography - 2.7.0 2.7.0
ffi - 2.1.3 2.1.3
freezed_annotation - 2.4.4 2.4.4
hex - 0.2.0 0.2.0
http_methods - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
ieee754 - 1.0.3 1.0.3
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
matcher - 0.12.17 0.12.17
quiver - 3.2.2 3.2.2
sodium - 3.4.3 3.4.3
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
web - 1.1.0 1.1.0
x509 - 0.2.4+3 0.2.4+3

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

The constraint `^3.6.1` on archive does not support the stable version `4.0.0`, that was published 12 days ago.

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

Try running dart pub upgrade --major-versions archive 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.17, Dart 3.6.0.

Check the analysis log for details.