cbl 2.2.2 copy "cbl: ^2.2.2" to clipboard
cbl: ^2.2.2 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.

64
likes
130/ 140
pub points
89%
popularity

We analyzed this package 13 hours ago, and awarded it 130 pub points (of a possible 140):

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

970 out of 984 API elements (98.6 %) 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_ffi/cbl_ffi.dart that imports:
  • package:cbl_ffi/src/utils.dart that imports:
  • package:cbl_ffi/src/slice.dart that imports:
  • package:cbl_ffi/src/global.dart that imports:
  • package:cbl_ffi/src/fleece.dart that imports:
  • package:cbl_ffi/src/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 5 issues. Showing the first 2:

INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.

lib/src/fleece/dict_key.dart:43:36

   ╷
43 │     final flDictKey = memoryBuffer.elementAt(_flDictKeyStart).cast<FLDictKey>();
   │                                    ^^^^^^^^^
   ╵

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

INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.

lib/src/fleece/dict_key.dart:44:35

   ╷
44 │     final flString = memoryBuffer.elementAt(_flStringStart).cast<FLString>();
   │                                   ^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
cbl_ffi ^0.8.2+1 0.8.2+1 0.8.2+1
characters ^1.1.0 1.3.0 1.3.0
collection ^1.15.0 1.18.0 1.18.0
ffi ^2.0.1 2.1.2 2.1.2
meta ^1.3.0 1.14.0 1.14.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 2.4.5
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
cbl_libcblite_api - 3.1.6 3.1.6
cbl_libcblitedart_api - 6.0.0 7.1.0
crypto - 3.0.3 3.0.3
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

64
likes
130
pub points
89%
popularity

Publisher

verified publishercbl-dart.dev

Couchbase Lite is an embedded, NoSQL JSON Document Style database, supporting Blobs, Encryption, N1QL 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_ffi, characters, collection, ffi, meta, path, stream_channel, synchronized, web_socket_channel

More

Packages that depend on cbl