electricsql 0.8.2 copy "electricsql: ^0.8.2" to clipboard
electricsql: ^0.8.2 copied to clipboard

A Dart implementation for ElectricSQL (electric-sql.com) client.

36
likes
130/ 160
pub points
238
downloads

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

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: 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

275 out of 977 API elements (28.1 %) have documentation comments.

Some symbols that are missing documentation: driver_drift.CustomElectricType, driver_drift.CustomElectricType.CustomElectricType, driver_drift.CustomElectricType.pgType, driver_drift.CustomElectricTypeEnum, driver_drift.CustomElectricTypeEnum.CustomElectricTypeEnum.

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

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Change.rowids, Change.recordChanges

lib/src/notifiers/notifiers.dart:50:7

   ╷
50 │ class Change with EquatableMixin {
   │       ^^^^^^
   ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: OplogEntry.newRow, OplogEntry.oldRow, OplogEntry.clearTags

lib/src/satellite/oplog.dart:52:7

   ╷
52 │ class OplogEntry with EquatableMixin {
   │       ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/satellite/oplog.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
ansicolor ^2.0.1 2.0.3 2.0.3
collection ^1.0.0 1.19.1 1.19.1
crypto ^3.0.0 3.0.6 3.0.6
dart_jsonwebtoken ^2.8.2 2.14.2 2.14.2
drift ^2.17.0 2.19.1+1 2.22.1
equatable ^2.0.0 2.0.7 2.0.7
events_emitter ^0.5.2 0.5.2 0.5.2
fixnum ^1.0.0 1.1.1 1.1.1
logging ^1.0.0 1.3.0 1.3.0
meta ^1.0.0 1.16.0 1.16.0
platform_info ^4.0.2 4.0.2 5.0.0
postgres ^3.2.0 3.4.5 3.4.5
protobuf ^3.0.0 3.1.0 3.1.0
rate_limiter ^1.0.0 1.0.0 1.0.0
retry ^3.0.0 3.1.2 3.1.2
sqlite3 ^2.2.0 2.4.5 2.5.0
synchronized ^3.0.0 3.3.0+3 3.3.0+3
uuid ^4.0.0 4.5.1 4.5.1
web ^0.5.0 0.5.1 1.1.0
web_socket_channel ^2.3.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
async - 2.12.0 2.12.0
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
ed25519_edwards - 0.3.1 0.3.1
ffi - 2.1.3 2.1.3
js - 0.7.1 0.7.1
path - 1.9.1 1.9.1
pointycastle - 3.9.1 3.9.1
pool - 1.5.1 1.5.1
rxdart - 0.27.7 0.28.0
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.0 0.3.0

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

Found 3 issues. Showing the first 2:

The constraint `^4.0.2` on platform_info does not support the stable version `5.0.0`.

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

The constraint `^0.5.0` on web does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions web 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.17, Dart 3.6.0.

Check the analysis log for details.

36
likes
130
points
238
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart implementation for ElectricSQL (electric-sql.com) client.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ansicolor, collection, crypto, dart_jsonwebtoken, drift, equatable, events_emitter, fixnum, logging, meta, platform_info, postgres, protobuf, rate_limiter, retry, sqlite3, synchronized, uuid, web, web_socket_channel

More

Packages that depend on electricsql