synchroflite 0.1.5 copy "synchroflite: ^0.1.5" to clipboard
synchroflite: ^0.1.5 copied to clipboard

Dart implementation of Conflict-free Replicated Data Types (CRDTs) using Sqlite

1
likes
120/ 160
pub points
6%
popularity

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

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

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

149 out of 236 API elements (63.1 %) have documentation comments.

Some symbols that are missing documentation: synchroflite, synchroflite.BatchSynchroflite, synchroflite.BatchSynchroflite.BatchSynchroflite, synchroflite.BatchSynchroflite.affectedTables, synchroflite.BatchSynchroflite.canonicalTime.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • 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: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: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: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: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 `Web`.

Because:

  • package:synchroflite/synchroflite.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that imports:
  • package:sqflite_common_ffi_web/src/sqflite_ffi.dart that imports:
  • package:sqflite_common_ffi_web/src/sqflite_ffi_web.dart that imports:
  • package:sqflite_common_ffi_web/src/database_factory_web.dart that imports:
  • package:sqflite_common_ffi_web/src/import.dart that imports:
  • package:sqflite_common_ffi/src/sqflite_ffi_impl.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:synchroflite/synchroflite.dart that imports:
  • package:synchroflite/src/is_web_locator.dart that imports:
  • package:synchroflite/src/is_web_io.dart that imports:
  • dart:io

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: An uninitialized variable should have an explicit type annotation.

lib/src/crdt_util.dart:110:13

    ╷
110 │         var ref;
    │             ^^^
    ╵

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

INFO: An uninitialized variable should have an explicit type annotation.

lib/src/crdt_util.dart:160:9

    ╷
160 │     var argIndex;
    │         ^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger 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.2 1.19.1 1.19.1
json_annotation ^4.8.1 4.9.0 4.9.0
source_span ^1.10.0 1.10.0 1.10.0
sqflite_common ^2.5.0 2.5.4+5 2.5.4+5
sqflite_common_ffi ^2.3.0+2 2.3.4 2.3.4
sqflite_common_ffi_web ^0.4.0 0.4.5+3 0.4.5+3
sql_crdt ^2.1.6 2.1.7 3.0.2
sqlparser ^0.34.0 0.34.1 0.39.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
charcode - 1.3.1 1.3.1
crdt - 5.1.3 5.1.3
crypto - 3.0.6 3.0.6
dev_build - 1.1.0+2 1.1.0+2
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pool - 1.5.1 1.5.1
process_run - 1.2.2 1.2.2
pub_semver - 2.1.4 2.1.4
sprintf - 7.0.0 7.0.0
sqlite3 - 2.4.7 2.4.7
stack_trace - 1.12.0 1.12.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^2.1.6` on sql_crdt does not support the stable version `3.0.0`.

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

The constraint `^0.34.0` on sqlparser does not support the stable version `0.35.0`.

Try running dart pub upgrade --major-versions sqlparser 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.15, Dart 3.5.4.

Check the analysis log for details.