mongo_dart 0.10.3 copy "mongo_dart: ^0.10.3" to clipboard
mongo_dart: ^0.10.3 copied to clipboard

MongoDB driver, implemented in pure Dart. All CRUD operations, aggregation pipeline and more!

493
likes
130/ 160
pub points
10.6k
downloads

We analyzed this package 2 days ago, and awarded it 130 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: MIT.

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

682 out of 2106 API elements (32.4 %) have documentation comments.

Some symbols that are missing documentation: mongo_dart.AEIterator.AEIterator.new, mongo_dart.AEList.AEList.internal, mongo_dart.AEList.AEList.new, mongo_dart.AEList.build, mongo_dart.AEObject.AEObject.internal.

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:mongo_dart/mongo_dart.dart that imports:
  • package:mongo_dart/src/extensions/file_ext.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mongo_dart/mongo_dart.dart that imports:
  • package:mongo_dart/src/extensions/file_ext.dart that imports:
  • dart:io

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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 810 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/auth/auth.dart:27:7

   ╷
27 │       default:
   │       ^^^^^^^
   ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/database/commands/administration_commands/kill_cursors_command/kill_cursors_command.dart:24:21

   ╷
24 │ /// * cursorIds List<int>
   │                     ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/database/commands/administration_commands/kill_cursors_command/kill_cursors_command.dart

Failed report section
Support up-to-date dependencies
30 / 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
basic_utils ^5.2.0 5.8.2 5.8.2
bson ^5.0.0 5.0.4 5.0.5
collection ^1.15.0 1.19.1 1.19.1
crypto ^3.0.0 3.0.6 3.0.6
decimal ^2.2.0 2.3.3 3.2.1
fixnum ^1.1.0 1.1.1 1.1.1
logging ^1.0.0 1.3.0 1.3.0
mongo_dart_query ^5.0.0 5.0.2 5.0.2
path ^1.8.0 1.9.1 1.9.1
pool ^1.5.0 1.5.1 1.5.1
sasl_scram ^0.1.0 0.1.1 0.1.1
uuid ^4.0.0 4.5.1 4.5.1
vy_string_utils ^0.4.0 0.4.6 0.4.6
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.6 4.0.6
async - 2.13.0 2.13.0
buffer - 1.2.3 1.2.3
convert - 3.1.2 3.1.2
ffi - 2.1.4 2.1.4
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0
packages_extensions - 0.1.0 0.1.1
pointycastle - 4.0.0 4.0.0
posix - 6.0.2 6.0.2
power_extensions - 0.2.3 0.2.3
rational - 2.2.3 2.2.3
saslprep - 1.0.3 1.0.3
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.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
unorm_dart - 0.3.0 0.3.0
web - 1.1.1 1.1.1

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

The constraint `^2.2.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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
493
likes
130
points
10.6k
downloads

Publisher

unverified uploader

Weekly Downloads

MongoDB driver, implemented in pure Dart. All CRUD operations, aggregation pipeline and more!

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

basic_utils, bson, collection, crypto, decimal, fixnum, logging, mongo_dart_query, path, pool, sasl_scram, uuid, vy_string_utils

More

Packages that depend on mongo_dart