mongo_chat_dart 1.0.1 copy "mongo_chat_dart: ^1.0.1" to clipboard
mongo_chat_dart: ^1.0.1 copied to clipboard

A Dart package to simplify creating and managing chat systems with MongoDB.

12
likes
140/ 160
pub points
53
downloads

We analyzed this package 2 days ago, and awarded it 140 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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

11 out of 144 API elements (7.6 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: mongo_chat_dart, mongo_chat_dart.BasicDataFilter, mongo_chat_dart.BasicDataFilter.BasicDataFilter, mongo_chat_dart.ChatUser, mongo_chat_dart.ChatUser.ChatUser.

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_chat_dart/mongo_chat_dart.dart that imports:
  • package:mongo_chat_dart/src/models/models.dart that imports:
  • package:mongo_chat_dart/src/models/room_model.dart that imports:
  • 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_chat_dart/mongo_chat_dart.dart that imports:
  • package:mongo_chat_dart/src/models/models.dart that imports:
  • package:mongo_chat_dart/src/models/room_model.dart that imports:
  • 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 19 issues. Showing the first 2:

/tmp/pana_ZIIZOP/lib/mongo_chat_dart.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_ZIIZOP/lib/src/helpers/chat_helper/chat_user_helper.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
collection ^1.19.0 1.19.1 1.19.1
mongo_dart ^0.10.3 0.10.4 0.10.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
basic_utils - 5.7.0 5.7.0
bson - 5.0.5 5.0.5
buffer - 1.2.3 1.2.3
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
decimal - 3.1.0 3.1.0
fixnum - 1.1.1 1.1.1
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.20.1 0.20.1
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
mongo_dart_query - 5.0.2 5.0.2
packages_extensions - 0.1.1 0.1.1
path - 1.9.1 1.9.1
pointycastle - 3.9.1 3.9.1
pool - 1.5.1 1.5.1
power_extensions - 0.2.3 0.2.3
rational - 2.2.3 2.2.3
sasl_scram - 0.1.1 0.1.1
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
uuid - 4.5.1 4.5.1
vy_string_utils - 0.4.6 0.4.6
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.17, Dart 3.6.0.

Check the analysis log for details.

12
likes
140
points
53
downloads

Publisher

verified publishermahawarkartikey.in

Weekly Downloads

A Dart package to simplify creating and managing chat systems with MongoDB.

Homepage
Repository (GitHub)
View/report issues

Topics

#chat #mongodb #realtime #messaging #dart

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, mongo_dart

More

Packages that depend on mongo_chat_dart