cbl 2.2.2 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.
We analyzed this package 29 hours ago, and awarded it 80 pub points (of a possible 160):
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
.
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
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The method 'UnmodifiableUint8ListView' isn't defined for the type 'BlobImpl'.
lib/src/document/blob.dart:212:22
╷
212 │ sink.add(UnmodifiableUint8ListView(data));
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/document/blob.dart
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
0/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.1 | 1.3.1 |
collection |
^1.15.0 |
1.19.1 | 1.19.1 |
ffi |
^2.0.1 |
2.1.3 | 2.1.3 |
meta |
^1.3.0 |
1.16.0 | 1.16.0 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
stream_channel |
^2.1.0 |
2.1.2 | 2.1.2 |
synchronized |
^3.0.0 |
3.3.0+3 | 3.3.0+3 |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
cbl_libcblite_api |
- | 3.2.0 | 3.2.0 |
cbl_libcblitedart_api |
- | 6.0.0 | 7.1.0 |
crypto |
- | 3.0.6 | 3.0.6 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 0.5.1 | 1.1.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 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:677:3
- Undefined name 'useResult' used as an annotation.UNDEFINED_ANNOTATION
-lib/src/database/database.dart:836: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.15
, Dart 3.5.4
.
Check the analysis log for details.