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
228
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

107 out of 152 API elements (70.4 %) have documentation comments.

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

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 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.

Failed check 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 report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 10 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 report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
args ^2.3.0 2.7.0 2.7.0
bson ^4.0.0 4.0.0 5.0.7
decimal ^2.3.0 2.3.3 3.2.4
ffi ^2.0.1 2.1.4 2.1.4
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.17.0 1.17.0
path ^1.8.0 1.9.1 1.9.1
proto_annotations ^3.1.0 3.1.0 5.0.0
protobuf ^3.0.0 3.1.0 4.1.0
pubspec ^2.3.0 2.3.0 2.3.0 Discontinued
tuple ^2.0.0 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
async - 2.13.0 2.13.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+1 0.3.3+1
googleapis_auth - 1.6.0 2.0.0
grpc - 3.2.4 4.1.0
http - 1.4.0 1.4.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
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.2.0 2.2.0
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.6
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.1 1.1.1
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

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.

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 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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
12
likes
80
points
228
downloads

Publisher

verified publishersquarealfa.com

Weekly Downloads

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