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

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

484
likes
150/ 160
pub points
6.87k
downloads

We analyzed this package 22 hours ago, and awarded it 150 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

682 out of 2074 API elements (32.9 %) have documentation comments.

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

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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 809 issues. Showing the first 2:

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>
   │                     ^^^^^
   ╵
copied to clipboard

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/database/commands/aggregation_commands/aggregate/aggregate_operation.dart:72:50

72/// equality condition on the _id field { _id: <value> }.
   │                                                  ^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/database/commands/aggregation_commands/aggregate/aggregate_operation.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
basic_utils ^5.2.0 5.7.0 5.7.0
bson ^5.0.0 5.0.5 5.0.5
collection ^1.15.0 1.19.1 1.19.1
crypto ^3.0.0 3.0.6 3.0.6
decimal ^3.1.0 3.2.1 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.1 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
async - 2.12.0 2.12.0
buffer - 1.2.3 1.2.3
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
intl - 0.20.1 0.20.1
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0
packages_extensions - 0.1.1 0.1.1
pointycastle - 3.9.1 3.9.1
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.0 1.1.0

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Dart 3.6.1.

Check the analysis log for details.

484
likes
150
points
6.87k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.08 - 2025.01.20

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