synchroflite 0.1.5
synchroflite: ^0.1.5 copied to clipboard
Dart implementation of Conflict-free Replicated Data Types (CRDTs) using Sqlite
We analyzed this package 9 hours ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.1.5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
151 out of 247 API elements (61.1 %) have documentation comments.
Some symbols that are missing documentation: synchroflite
, synchroflite.BaseCrdt.BaseCrdt.new
, synchroflite.Batch.Batch.new
, synchroflite.BatchSynchroflite
, synchroflite.BatchSynchroflite.BatchSynchroflite.new
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
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
.
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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: The declaration '_listToBinaryExpression' isn't referenced.
lib/src/crdt_util.dart:200:21
╷
200 │ static Expression _listToBinaryExpression(
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
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:110:13
╷
110 │ var ref;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/crdt_util.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
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.1 | 1.10.1 | |
sqflite_common |
^2.5.0 |
2.5.6 | 2.5.6 | |
sqflite_common_ffi |
^2.3.0+2 |
2.3.6 | 2.3.6 | |
sqflite_common_ffi_web |
^0.4.0 |
0.4.5+4 | 1.0.1+1 | |
sql_crdt |
^2.1.6 |
2.1.7 | 3.0.3 | |
sqlparser |
^0.34.0 |
0.34.1 | 0.41.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
charcode |
- | 1.4.0 | 1.4.0 | |
crdt |
- | 5.1.3 | 5.1.3 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dev_build |
- | 1.1.2+11 | 1.1.2+11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pool |
- | 1.5.2 | 1.5.2 | |
process_run |
- | 1.2.4 | 1.2.4 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqlite3 |
- | 2.9.1 | 2.9.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^0.4.0` on sqflite_common_ffi_web does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions sqflite_common_ffi_web
to update the constraint.
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.
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.23
, Dart 3.9.3
.
Check the analysis log for details.