reservoir 4.0.1 copy "reservoir: ^4.0.1" to clipboard
reservoir: ^4.0.1 copied to clipboard

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

0
likes
105/ 140
pub points
0%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

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: reservoir,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: reservoir.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

29 out of 96 API elements (30.2 %) have documentation comments.

Some symbols that are missing documentation: change, change.Added, change.Added.Added, change.Change.data, change.Change.id.

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
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 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

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

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
equatable ^2.0.3 2.0.5 2.0.5
hive ^2.0.4 2.2.3 2.2.3
ordered_set ^3.1.0 3.2.0 5.0.3
rxdart ^0.27.1 0.27.7 0.27.7
Transitive dependencies
Package Constraint Compatible Latest
crypto - 3.0.3 3.0.3
meta - 1.14.0 1.14.0
typed_data - 1.3.2 1.3.2

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
105
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, equatable, hive, ordered_set, rxdart

More

Packages that depend on reservoir