sqlite_crdt 0.0.9+4 copy "sqlite_crdt: ^0.0.9+4" to clipboard
sqlite_crdt: ^0.0.9+4 copied to clipboard

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

8
likes
130/ 160
pub points
57%
popularity

We analyzed this package 34 hours ago, and awarded it 130 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 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: sqlite_crdt,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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

116 out of 161 API elements (72.0 %) have documentation comments.

Some symbols that are missing documentation: sqlite_crdt, sqlite_crdt.ClockDriftException, sqlite_crdt.ClockDriftException.ClockDriftException, sqlite_crdt.ClockDriftException.drift, sqlite_crdt.DatabaseApi.

10/10 points: Package has an example

failed
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:sqlite_crdt/sqlite_crdt.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that imports:
  • package:sqflite_common_ffi_web/src/web/load_sqlite.dart that imports:
  • package:sqflite_common_ffi_web/src/web/load_sqlite_web.dart that imports:
  • package:sqflite_common_ffi_web/src/sqflite_ffi_impl_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:sqlite_crdt/sqlite_crdt.dart that imports:
  • package:sqlite_crdt/src/is_web_locator.dart that imports:
  • package:sqlite_crdt/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

INFO: The import of 'package:sqflite_common/sqlite_api.dart' is unnecessary because all of the used elements are also provided by the import of 'package:sqflite_common_ffi/sqflite_ffi.dart'.

lib/sqlite_crdt.dart:5:8

  ╷
5 │ import 'package:sqflite_common/sqlite_api.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/sqlite_crdt.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
sqflite_common ^2.4.3 2.5.4+5 2.5.4+5
sqflite_common_ffi ^2.2.3 2.3.4 2.3.4
sqflite_common_ffi_web ^0.3.4 0.3.6 0.4.5+3
sql_crdt ^0.0.9+1 0.0.9+2 3.0.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 76.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.8.0 6.11.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.11.0 1.11.0
crypto - 3.0.6 3.0.6
dev_build - 1.1.0+2 1.1.0+2
dev_test - 1.0.0+5 1.0.0+5
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
io - 1.0.4 1.0.4
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.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
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.12 0.10.12
source_span - 1.10.0 1.10.0
sqlite3 - 2.4.7 2.4.7
sqlparser - 0.28.1 0.39.2
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
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
test_api - 0.7.3 0.7.3
test_core - 0.6.5 0.6.5
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vm_service - 14.3.1 14.3.1
watcher - 1.1.0 1.1.0
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 `^0.3.4` on sqflite_common_ffi_web does not support the stable version `0.4.0`.

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

The constraint `^0.0.9+1` on sql_crdt does not support the stable version `1.0.0`.

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

8
likes
130
pub points
57%
popularity

Publisher

verified publishercachapa.net

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

sqflite_common, sqflite_common_ffi, sqflite_common_ffi_web, sql_crdt

More

Packages that depend on sqlite_crdt