bagel_db 0.2.25 copy "bagel_db: ^0.2.25" to clipboard
bagel_db: ^0.2.25 copied to clipboard

Dart plugin to retrieve and update data on BagelDB. This library allows you to build a backend in a matter of minutes, make REST API requests and manage your content easily

125/ 160
pub points
17
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.2.25").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

39 out of 118 API elements (33.1 %) have documentation comments.

Some symbols that are missing documentation: bagel_db, bagel_db.AuthEvent, bagel_db.AuthEvent.AuthEvent.new, bagel_db.AuthEvent.loggedin, bagel_db.AuthEvent.user.

Passed check 10/10 points: Package has an example

Passed 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:bagel_db/bagel_db.dart that imports:
  • package:bagel_db/src/bagel_db_users.dart that imports:
  • package:bagel_db/src/bagel_db_functions.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/universal_io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 38 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/bagel_db_functions.dart:31:32

   ╷
31 │   static Future<BagelDB> init({token, logCurl = false}) async {
   │                                ^^^^^
   ╵

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

INFO: Missing type annotation.

lib/src/bagel_db_functions.dart:31:39

   ╷
31 │   static Future<BagelDB> init({token, logCurl = false}) async {
   │                                       ^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dio ^5.0.1 5.9.0 5.9.0
shared_preferences ^2.0.18 2.5.4 2.5.4
universal_io ^2.0.4 2.3.1 2.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

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 9 errors:

  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/src/bagel_db_users.dart:115:18 - The name 'DioException' isn't defined, so it can't be used in an 'is' expression.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/src/bagel_db_users.dart:162:16 - The name 'DioException' isn't defined, so it can't be used in an 'is' expression.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/src/bagel_db_users.dart:178:16 - The name 'DioException' isn't defined, so it can't be used in an 'is' expression.

Run flutter pub downgrade and then flutter 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.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
10
likes
125
points
17
downloads

Publisher

verified publisherbageldb.com

Weekly Downloads

Dart plugin to retrieve and update data on BagelDB. This library allows you to build a backend in a matter of minutes, make REST API requests and manage your content easily

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

dio, shared_preferences, universal_io

More

Packages that depend on bagel_db