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

outdated

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

65
likes
80/ 160
pub points
88%
popularity

We analyzed this package 2 days ago, and awarded it 80 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

962 out of 976 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

failed
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

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

ERROR: The method 'UnmodifiableUint8ListView' isn't defined for the type 'BlobImpl'.

lib/src/document/blob.dart:209:22

    ╷
209 │             sink.add(UnmodifiableUint8ListView(data));
    │                      ^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: The type of the right operand ('FLValueType') isn't a subtype or a supertype of the left operand ('ValueType').

lib/src/fleece/decoder.dart:329:19

    ╷
329 │     if (root.type == FLValueType.undefined) {
    │                   ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/fleece/decoder.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_ffi ^0.7.2+2 0.7.2+3 0.8.2+1
characters ^1.1.0 1.3.0 1.3.0
collection ^1.15.0 1.19.0 1.19.0
ffi ^1.0.0 1.2.1 2.1.3
meta ^1.3.0 1.15.0 1.15.0
stream_channel ^2.1.0 2.1.2 2.1.2
synchronized ^3.0.0 3.2.0 3.2.0
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
cbl_libcblite_api - 3.1.6 3.1.6
cbl_libcblitedart_api - 1.0.0 7.1.0
crypto - 3.0.5 3.0.5
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.

Found 3 issues. Showing the first 2:

The constraint `^0.7.2+2` on cbl_ffi does not support the stable version `0.8.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.

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 4 errors:

  • UNDEFINED_ANNOTATION - lib/src/database/database.dart:321:3 - Undefined name 'useResult' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/database/database.dart:675:3 - Undefined name 'useResult' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/database/database.dart:835: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.12, Dart 3.5.2.

Check the analysis log for details.

65
likes
80
pub points
88%
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, stream_channel, synchronized, web_socket_channel

More

Packages that depend on cbl