reservoir 4.0.1 icon indicating copy to clipboard operation
reservoir: ^4.0.1 copied to clipboard

An indexed table-like data type that works well with Hive boxes.

0
likes
115/ 140
pub points
0%
popularity

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

icon indicating section status
Follow Dart file conventions
25 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:53:49

   ╷
53 │ <p>Please file feature requests and bugs at the <a href="http://github.com/moontreeapp/reservoir/issues">issue tracker</a>.</p>
   │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 27 out of 119 API elements (22.7 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: The null check operator shouldn't be used on a variable whose type is a potentially nullable type parameter.

lib/index_unique.dart:24:25

   ╷
24 │       return [_data[key]!];
   │                         ^
   ╵

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

INFO: Statements in a for should be enclosed in a block.

lib/reservoir.dart:164:39

    ╷
164 │     for (var index in indices.values) index.add(record);
    │                                       ^^^^^^^^^^^^^^^^^^
    ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
collection^1.15.01.17.11.17.1
equatable^2.0.32.0.52.0.5
hive^2.0.42.2.32.2.3
ordered_set^3.1.03.2.05.0.0
rxdart^0.27.10.27.70.27.7
Transitive dependencies
PackageConstraintCompatibleLatest
crypto-3.0.23.0.2
meta-1.8.01.8.0
typed_data-1.3.11.3.1

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

The constraint `^3.1.0` on ordered_set does not support the stable version `4.0.0`.

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Dart 2.19.0.

0
likes
115
pub points
0%
popularity

Publisher

unverified uploader

An indexed table-like data type that works well with Hive boxes.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

collection, equatable, hive, ordered_set, rxdart

More

Packages that depend on reservoir