drift_crdt 1.0.9 copy "drift_crdt: ^1.0.9" to clipboard
drift_crdt: ^1.0.9 copied to clipboard

A Flutter-only implementation of a drift CRDT database, based on the `sqlite_crdt` package and `sqflite`.

4
likes
130/ 140
pub points
50%
popularity

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

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting drift_crdt... Discovering libraries... Linking elements... Precaching local docs for 1151999 elements... Initialized dartdoc with 1293 libraries Generating docs for library lazy_database.dart from package:drift_crdt/lazy_database.dart... Generating docs for library serializable.dart from package:drift_crdt/serializable.dart... Generating docs for library drift_crdt.dart from package:drift_crdt/drift_crdt.dart... Documented 3 public libraries in 71.9 seconds ERR: warning: private API of package:crdt is reexported by libraries in other packages: from drift_crdt.Crdt.Crdt: (file:///tmp/analyzerNYQQJF/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/crdt-5.1.2/lib/src/crdt.dart:11:22) referred to by drift_crdt: (file:///tmp/pana_IHPRSQ/lib/drift_crdt.dart:5:9) warning: private API of package:crdt is reexported by libraries in other packages: from drift_crdt.MergeError: (file:///tmp/analyzerNYQQJF/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/crdt-5.1.2/lib/src/crdt.dart:95:7) referred to by drift_crdt: (file:///tmp/pana_IHPRSQ/lib/drift_crdt.dart:5:9) warning: private API of package:crdt is reexported by libraries in other packages: from drift_crdt.Hlc: (file:///tmp/analyzerNYQQJF/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/crdt-5.1.2/lib/src/hlc.dart:8:7) referred to by drift_crdt: (file:///tmp/pana_IHPRSQ/lib/drift_crdt.dart:5:9) warning: private API of package:crdt is reexported by libraries in other packages: [86 more lines]

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 does not support platform `Web`.

Because:

  • package:drift_crdt/drift_crdt.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:drift_crdt/drift_crdt.dart that imports:
  • package:synchroflite/synchroflite.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:drift_crdt/drift_crdt.dart that imports:
  • package:synchroflite/synchroflite.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:drift_crdt/drift_crdt.dart that imports:
  • package:synchroflite/synchroflite.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:drift_crdt/drift_crdt.dart that imports:
  • package:synchroflite/synchroflite.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:drift_crdt/drift_crdt.dart that imports:
  • package:synchroflite/synchroflite.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
crdt ^5.1.2 5.1.2 5.1.2
drift ^2.15.0 2.17.0 2.17.0
flutter flutter 0.0.0 0.0.0
json_annotation ^4.8.1 4.9.0 4.9.0
json_serializable ^6.2.0 6.8.0 6.8.0
path ^1.8.0 1.9.0 1.9.0
sqflite ^2.1.0 2.3.3 2.3.3
synchroflite ^0.1.3 0.1.4 0.1.4
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 68.0.0
analyzer - 6.4.1 6.5.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
checked_yaml - 2.0.3 2.0.3
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.3.6 2.3.6
dev_build - 0.16.5 0.16.5
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
glob - 2.1.2 2.1.2
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
package_config - 2.1.0 2.1.0
pool - 1.5.1 1.5.1
process_run - 0.14.2 0.14.2
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_helper - 1.3.4 1.3.4
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite_common - 2.5.4 2.5.4
sqflite_common_ffi - 2.3.3 2.3.3
sqflite_common_ffi_web - 0.4.3+1 0.4.3+1
sql_crdt - 2.1.7 3.0.1
sqlite3 - 2.4.2 2.4.2
sqlparser - 0.34.1 0.35.1
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
yaml - 3.1.2 3.1.2

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

4
likes
130
pub points
50%
popularity

Publisher

verified publisherjanezstupar.com

A Flutter-only implementation of a drift CRDT database, based on the `sqlite_crdt` package and `sqflite`.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

crdt, drift, flutter, json_annotation, json_serializable, path, sqflite, synchroflite

More

Packages that depend on drift_crdt