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.

37
likes
130/ 160
pub points
206
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

275 out of 976 API elements (28.2 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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 report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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 report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
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.17.0 3.2.0
drift ^2.17.0 2.19.1+1 2.27.0
equatable ^2.0.0 2.0.7 2.0.7
events_emitter ^0.5.2 0.5.2 0.6.0
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.17.0 1.17.0
platform_info ^4.0.2 4.0.2 5.0.0
postgres ^3.2.0 3.5.6 3.5.6
protobuf ^3.0.0 3.1.0 4.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.7.6
synchronized ^3.0.0 3.4.0 3.4.0
uuid ^4.0.0 4.5.1 4.5.1
web ^0.5.0 0.5.1 1.1.1
web_socket_channel ^2.3.0 2.4.5 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.0 2.13.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.4 2.1.4
js - 0.7.2 0.7.2 Discontinued
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
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.4 2.1.4
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.1+1 0.3.1+1

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

Found 6 issues. Showing the first 2:

The constraint `^2.8.2` on dart_jsonwebtoken does not support the stable version `3.0.0`.

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

The constraint `^0.5.2` on events_emitter does not support the stable version `0.6.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
37
likes
130
points
206
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

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