cbl 3.0.0 copy "cbl: ^3.0.0" to clipboard
cbl: ^3.0.0 copied to clipboard

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

65
likes
120/ 160
pub points
88%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/cbl-dart/cbl-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

1083 out of 1097 API elements (98.7 %) have documentation comments.

Some symbols that are missing documentation: Database, Document, Enterprise Edition, Logging, Query.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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/typed_data.dart that imports:
  • package:cbl/src/typed_data/helpers.dart that imports:
  • package:cbl/src/typed_data/conversion.dart that imports:
  • package:cbl/src/typed_data/collection.dart that imports:
  • package:cbl/src/errors.dart that imports:
  • package:cbl/src/service/channel.dart that imports:
  • package:cbl/src/service/serialization/serialization_codec.dart that imports:
  • package:cbl/src/service/serialization/serialization.dart that imports:
  • package:cbl/src/bindings.dart that imports:
  • package:cbl/src/bindings/utils.dart that imports:
  • package:cbl/src/bindings/slice.dart that imports:
  • package:cbl/src/bindings/global.dart that imports:
  • package:cbl/src/bindings/fleece.dart that imports:
  • package:cbl/src/bindings/data.dart that imports:
  • dart:isolate
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/database/ffi_database.dart:149:14

    ╷
149 │             .whereNotNull()
    │              ^^^^^^^^^^^^
    ╵

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

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/database/ffi_database.dart:451:14

    ╷
451 │             .whereNotNull()
    │              ^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cbl_libcblite_api ^3.1.3 3.1.6 3.1.6
cbl_libcblitedart_api ^7.0.0 7.1.0 7.1.0
characters ^1.1.0 1.3.0 1.3.0
collection ^1.15.0 1.19.0 1.19.0
ffi ^2.0.1 2.1.2 2.1.2
meta ^1.3.0 1.15.0 1.15.0
path ^1.8.0 1.9.0 1.9.0
stream_channel ^2.1.0 2.1.2 2.1.2
synchronized ^3.0.0 3.1.0+1 3.1.0+1
web_socket_channel ^2.1.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
crypto - 3.0.3 3.0.3
typed_data - 1.3.2 1.3.2
web - 0.5.1 1.0.0

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

The constraint `^2.1.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_ANNOTATION - lib/src/database/database.dart:328:3 - Undefined name 'useResult' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/database/database.dart:697:3 - Undefined name 'useResult' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/database/database.dart:908:3 - Undefined name 'useResult' used as an annotation.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.9, Dart 3.4.4.

Check the analysis log for details.

65
likes
120
pub points
88%
popularity

Publisher

verified publishercbl-dart.dev

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cbl_libcblite_api, cbl_libcblitedart_api, characters, collection, ffi, meta, path, stream_channel, synchronized, web_socket_channel

More

Packages that depend on cbl