cbl 0.6.0+1 copy "cbl: ^0.6.0+1" to clipboard
cbl: ^0.6.0+1 copied to clipboard

Couchbase Lite is an embedded, NoSQL JSON Document Style database, supporting Blobs, Encryption, N1QL Queries, Live Queries, Full-Text Search and Data Sync.

120/ 160
pub points
1.58k
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

packages/cbl/pubspec.yaml from the repository URL mismatch: expected https://github.com/cofu-app/cbl-dart but got https://github.com/cbl-dart/cbl-dart.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: cbl,
    • contains a version property, and,
    • does not contain a publish_to property.

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

326 out of 387 API elements (84.2 %) have documentation comments.

Some symbols that are missing documentation: cbl, cbl.Array.toObject, cbl.Authenticator.Authenticator.new, cbl.BaseException, cbl.BaseException.BaseException.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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:cbl/cbl.dart that imports:
  • package:cbl/src/resource.dart that imports:
  • package:cbl/src/native_object.dart that imports:
  • package:cbl/src/worker/worker.dart that imports:
  • dart:isolate
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 7 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/native_callback.dart:61:12

   ╷
61 │     assert(message is List, 'callback call message must be a list');
   │            ^^^^^^^^^^^^^^^
   ╵

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

WARNING: This function has a nullable return type of 'WorkerResponse

lib/src/worker/cbl_worker.dart:62:55

   ╷
62 │ ErrorHandler CBLErrorExceptionHandler() => (error, _) {
   │                                                       ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/worker/cbl_worker.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
cbl_ffi ^0.6.0+1 0.6.0+1 0.8.2+1
characters ^1.1.0 1.4.1 1.4.1
collection ^1.15.0 1.19.1 1.19.1
ffi ^1.0.0 1.2.1 2.1.4
logging ^1.0.0 1.3.0 1.3.0
meta ^1.3.0 1.17.0 1.17.0
synchronized ^3.0.0 3.4.0 3.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
cbl_native - 4.2.2 4.2.2 Discontinued
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
yaml - 3.1.3 3.1.3

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

The constraint `^0.6.0+1` on cbl_ffi does not support the stable version `0.7.0`.

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

The constraint `^1.0.0` on ffi does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions ffi 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.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
78
likes
120
points
1.58k
downloads

Publisher

verified publishercbl-dart.dev

Weekly Downloads

Couchbase Lite is an embedded, NoSQL JSON Document Style database, supporting Blobs, Encryption, N1QL Queries, Live Queries, Full-Text Search and Data Sync.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cbl_ffi, characters, collection, ffi, logging, meta, synchronized

More

Packages that depend on cbl