mongo_go 5.1.4 copy "mongo_go: ^5.1.4" to clipboard
mongo_go: ^5.1.4 copied to clipboard

discontinued

Provides a MongoDB driver based on the official GO SDK via Dart FFI meant to be used in Dart server-side code.

12
likes
80/ 160
pub points
0%
popularity

We analyzed this package 20 hours ago, and awarded it 80 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

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

112 out of 150 API elements (74.7 %) have documentation comments.

Some symbols that are missing documentation: mongo_go.BulkWriteModel.toProto, mongo_go.BulkWriteOptions.ordered, mongo_go.BulkWriteOptions.toProto, mongo_go.BulkWriteResult.BulkWriteResult.fromProto, mongo_go.Collation.toProto.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:mongo_go/mongo_go.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:mongo_go/mongo_go.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:mongo_go/mongo_go.dart that declares support for platforms: Windows, Linux, macOS.

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 5 issues. Showing the first 2:

ERROR: This requires the 'class-modifiers' language feature to be enabled.

lib/src/lib_mongo_go.dart:646:1

    ╷
646 │ final class max_align_t extends ffi.Opaque {}
    │ ^^^^^
    ╵

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

ERROR: This requires the 'class-modifiers' language feature to be enabled.

lib/src/lib_mongo_go.dart:648:1

    ╷
648 │ final class _GoString_ extends ffi.Struct {
    │ ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/lib_mongo_go.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
args ^2.3.0 2.6.0 2.6.0
bson ^4.0.0 4.0.0 5.0.5
decimal ^2.3.0 2.3.3 3.0.2
ffi ^2.0.1 2.1.3 2.1.3
fixnum ^1.0.1 1.1.1 1.1.1
go_bridge ^1.4.3 1.4.3 1.4.3
meta ^1.8.0 1.16.0 1.16.0
path ^1.8.0 1.9.1 1.9.1
proto_annotations ^3.1.0 3.1.0 3.1.0
protobuf ^3.0.0 3.1.0 3.1.0
pubspec ^2.3.0 2.3.0 2.3.0
tuple ^2.0.0 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
google_identity_services_web - 0.3.3 0.3.3
googleapis_auth - 1.6.0 1.6.0
grpc - 3.2.4 4.0.1
http - 1.2.2 1.2.2
http2 - 2.3.0 2.3.0
http_parser - 4.1.1 4.1.1
json_annotation - 4.9.0 4.9.0
matcher - 0.12.17 0.12.17
packages_extensions - 0.1.0 0.1.1
power_extensions - 0.2.3 0.2.3
pub_semver - 2.1.4 2.1.4
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.5.1
web - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^4.0.0` on bson does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions bson to update the constraint.

The constraint `^2.3.0` on decimal does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions decimal 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:

  • EXPERIMENT_NOT_ENABLED - lib/src/lib_mongo_go.dart:646:1 - This requires the 'class-modifiers' language feature to be enabled.
  • EXPERIMENT_NOT_ENABLED - lib/src/lib_mongo_go.dart:648:1 - This requires the 'class-modifiers' language feature to be enabled.
  • EXPERIMENT_NOT_ENABLED - lib/src/lib_mongo_go.dart:658:1 - This requires the 'class-modifiers' language feature to be enabled.

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.

12
likes
80
pub points
0%
popularity

Publisher

verified publishersquarealfa.com

Provides a MongoDB driver based on the official GO SDK via Dart FFI meant to be used in Dart server-side code.

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, bson, decimal, ffi, fixnum, go_bridge, meta, path, proto_annotations, protobuf, pubspec, tuple

More

Packages that depend on mongo_go