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

76
likes
130/ 160
pub points
2.95k
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 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.

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

1268 out of 1307 API elements (97.0 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Failed 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/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/tracing.dart that imports:
  • package:cbl/src/support/tracing.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/cblitedart.dart that imports:
  • package:cbl/src/bindings/cblite.dart that imports:
  • dart:ffi

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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/tracing.dart that imports:
  • package:cbl/src/support/tracing.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/cblitedart.dart that imports:
  • package:cbl/src/bindings/cblite.dart that imports:
  • dart:ffi

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.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 114 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/query/expressions/expression.dart:126:29

    ╷
126 │   /// [DateTime], [Map] (Map<String, Object?>) and [Iterable]
    │                             ^^^^^^^^^^^^^^^^^
    ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/query/expressions/expression.dart:127:16

    ╷
127 │   /// (Iterable<String?>).
    │                ^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
archive >=3.6.1 <5.0.0 4.0.7 4.0.7
cbl_libcblite_api 3.2.4 3.2.4 3.2.4
cbl_libcblitedart_api 9.0.0 9.0.0 9.0.0
characters ^1.1.0 1.4.0 1.4.0
collection ^1.15.0 1.19.1 1.19.1
ffi ^2.0.1 2.1.4 2.1.4
http ^1.2.2 1.4.0 1.4.0
meta ^1.3.0 1.17.0 1.17.0
path ^1.8.0 1.9.1 1.9.1
stream_channel ^2.1.0 2.1.4 2.1.4
synchronized ^3.0.0 3.3.1 3.3.1
web_socket_channel >=2.1.0 <4.0.0 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
crypto - 3.0.6 3.0.6
http_parser - 4.1.2 4.1.2
posix - 6.0.2 6.0.2
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
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 12 errors:

  • UNDEFINED_ANNOTATION - lib/src/database/collection.dart:191:3 - Undefined name 'useResult' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/database/collection.dart:399:3 - Undefined name 'useResult' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/database/collection.dart:491: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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
76
likes
130
points
2.95k
downloads

Publisher

verified publishercbl-dart.dev

Weekly Downloads

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

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

More

Packages that depend on cbl