drift_libsql 0.1.0
drift_libsql: ^0.1.0 copied to clipboard
Turso/Libsql database client binding for Drift
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
13 out of 22 API elements (59.1 %) have documentation comments.
Some symbols that are missing documentation: drift_libsql, drift_libsql.DriftLibsqlDatabase, drift_libsql.DriftLibsqlDatabase.DriftLibsqlDatabase.new, drift_libsql.DriftLibsqlDatabase.beginTransactionInContext, drift_libsql.DriftLibsqlDatabase.impl.
10/10 points: Package has an example
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:drift_libsql/drift_libsql.dartthat imports:package:libsql_dart/libsql_dart.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/drift_libsql.dart:135:22
╷
135 │ Future<void> init({initial = 0}) async {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/drift_libsql.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
drift |
^2.26.1 |
2.29.0 | 2.29.0 | |
libsql_dart |
^0.6.0 |
0.6.0 | 0.8.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build_cli_annotations |
- | 2.1.1 | 2.1.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_rust_bridge |
- | 2.10.0 | 2.11.1 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sqlite3 |
- | 2.9.4 | 3.1.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.6.0` on libsql_dart does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions libsql_dart 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.23.3, Flutter 3.38.2, Dart 3.10.0.
Check the analysis log for details.