box 0.3.7 copy "box: ^0.3.7" to clipboard
box: ^0.3.7 copied to clipboard

A fluent Dart persistence API inspired by SQL that supports PostgreSQL, MongoDB, simple file and in-memory storage.

11
likes
110/ 140
pub points
66%
popularity

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

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

103 out of 220 API elements (46.8 %) have documentation comments.

Some symbols that are missing documentation: box, box.core, box.core.$, box.core.AndPredicate, box.core.AndPredicate.AndPredicate.

10/10 points: Package has an example

OK
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:box/box.dart that imports:
  • package:box/file.dart that imports:
  • package:box/src/file.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 9 issues. Showing the first 2:

WARNING: Implementing 'Function' has no effect.

lib/src/pattern_matcher.dart:11:39

   ╷
11 │ class PatternMatcher<I, O> implements Function {
   │                                       ^^^^^^^^
   ╵

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

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/postgres.dart:271:28

    ╷
271 │       return entitySupport != null
    │                            ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/postgres.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.17.0 1.18.0 1.18.0
googleapis_auth ^1.3.1 1.4.1 1.6.0
http ^0.13.5 0.13.6 1.2.1
io ^1.0.0 1.0.4 1.0.4
meta ^1.8.0 1.14.0 1.14.0
mongo_dart ^0.8.1 0.8.2 0.10.1
postgres ^2.5.2 2.6.4 3.2.0
recase ^4.0.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
basic_utils - 5.5.4 5.7.0
bson - 3.0.1 5.0.4
buffer - 1.2.3 1.2.3
charcode - 1.3.1 1.3.1
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
decimal - 2.3.3 2.3.3
fixnum - 1.1.0 1.1.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
mongo_dart_query - 3.0.0 5.0.0
packages_extensions - 0.1.0 0.1.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
pointycastle - 3.9.0 3.9.0
pool - 1.5.1 1.5.1
power_extensions - 0.2.2 0.2.2
rational - 2.2.2 2.2.2
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.2 1.0.2
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.0 0.3.0
uuid - 3.0.7 4.4.0
vy_string_utils - 0.4.5 0.4.5

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

Found 3 issues. Showing the first 2:

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

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

The constraint `^0.8.1` on mongo_dart does not support the stable version `0.9.0`.

Try running dart pub upgrade --major-versions mongo_dart 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.

11
likes
110
pub points
66%
popularity

Publisher

unverified uploader

A fluent Dart persistence API inspired by SQL that supports PostgreSQL, MongoDB, simple file and in-memory storage.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, googleapis_auth, http, io, meta, mongo_dart, postgres, recase

More

Packages that depend on box