electricsql_cli 0.8.0+1 copy "electricsql_cli: ^0.8.0+1" to clipboard
electricsql_cli: ^0.8.0+1 copied to clipboard

CLI to interact with the ElectricSQL service. Offers a similar tool set as the NPM electric_sql package.

2
likes
150/ 160
pub points
49%
popularity

We analyzed this package 2 days ago, and awarded it 150 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

467 out of 813 API elements (57.4 %) have documentation comments.

Some symbols that are missing documentation: electricsql_cli.BinaryExpression.accept, electricsql_cli.BinaryExpression.addSpace, electricsql_cli.BinaryExpression.left, electricsql_cli.BinaryExpression.operator, electricsql_cli.BinaryExpression.right.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:electricsql_cli/electricsql_cli.dart that imports:
  • package:electricsql_cli/src/commands/generate/prisma.dart that imports:
  • package:electricsql_cli/src/util/util.dart that imports:
  • package:electricsql_cli/src/logger.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:electricsql_cli/electricsql_cli.dart that imports:
  • package:electricsql_cli/src/commands/generate/prisma.dart that imports:
  • package:electricsql_cli/src/util/util.dart that imports:
  • package:electricsql_cli/src/logger.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:electricsql_cli/electricsql_cli.dart that imports:
  • package:electricsql_cli/src/commands/generate/prisma.dart that imports:
  • package:electricsql_cli/src/util/util.dart that imports:
  • package:electricsql_cli/src/logger.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:electricsql_cli/electricsql_cli.dart that imports:
  • package:electricsql_cli/src/commands/generate/prisma.dart that imports:
  • package:electricsql_cli/src/util/util.dart that imports:
  • package:electricsql_cli/src/logger.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:electricsql_cli/electricsql_cli.dart that imports:
  • package:electricsql_cli/src/commands/generate/prisma.dart that imports:
  • package:electricsql_cli/src/util/util.dart that imports:
  • package:electricsql_cli/src/logger.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:electricsql_cli/electricsql_cli.dart that imports:
  • package:electricsql_cli/src/commands/generate/prisma.dart that imports:
  • package:electricsql_cli/src/util/util.dart that imports:
  • package:electricsql_cli/src/util/version.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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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
archive ^3.3.7 3.6.1 3.6.1
args ^2.4.1 2.6.0 2.6.0
code_builder ^4.8.0 4.10.1 4.10.1
collection ^1.0.0 1.19.1 1.19.1
dart_style ^2.3.2 2.3.7 2.3.7
dotenv ^4.2.0 4.2.0 4.2.0
electricsql ^0.8.0 0.8.2 0.8.2
equatable ^2.0.5 2.0.5 2.0.5
http ^1.1.0 1.2.2 1.2.2
mason_logger ^0.2.5 0.2.16 0.3.1
package_config ^2.1.0 2.1.0 2.1.0
path ^1.8.3 1.9.1 1.9.1
recase ^4.1.0 4.1.0 4.1.0
web_socket_channel ^2.3.0 2.4.5 3.0.1
yaml ^3.1.2 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 76.0.0
_macros - 0.3.2 0.3.2
adaptive_number - 1.0.0 1.0.0
analyzer - 6.8.0 6.11.0
ansicolor - 2.0.3 2.0.3
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
charcode - 1.3.1 1.3.1
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_jsonwebtoken - 2.14.1 2.14.1
drift - 2.19.1+1 2.21.0
ed25519_edwards - 0.3.1 0.3.1
events_emitter - 0.5.2 0.5.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.2 2.1.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
platform_info - 4.0.2 5.0.0
pointycastle - 3.9.1 3.9.1
pool - 1.5.1 1.5.1
postgres - 3.4.3 3.4.3
protobuf - 3.1.0 3.1.0
pub_semver - 2.1.4 2.1.4
rate_limiter - 1.0.0 1.0.0
retry - 3.1.2 3.1.2
rxdart - 0.27.7 0.28.0
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqlite3 - 2.4.5 2.4.7
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
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.0 0.3.0
uuid - 4.5.1 4.5.1
watcher - 1.1.0 1.1.0
web - 0.5.1 1.1.0
win32 - 5.8.0 5.8.0

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

The constraint `^0.2.5` on mason_logger does not support the stable version `0.3.0`.

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

The constraint `^2.3.0` on web_socket_channel does not support the stable version `3.0.0`.

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

2
likes
150
pub points
49%
popularity

Publisher

unverified uploader

CLI to interact with the ElectricSQL service. Offers a similar tool set as the NPM electric_sql package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, args, code_builder, collection, dart_style, dotenv, electricsql, equatable, http, mason_logger, package_config, path, recase, web_socket_channel, yaml

More

Packages that depend on electricsql_cli