saropa_drift_viewer 0.2.2 copy "saropa_drift_viewer: ^0.2.2" to clipboard
saropa_drift_viewer: ^0.2.2 copied to clipboard

Debug-only HTTP server that exposes SQLite/Drift table data as JSON and a minimal web viewer. Use from any Drift (or raw SQLite) app via an injectable query callback.

110/ 160
pub points
129
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: saropa_drift_viewer.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: saropa_drift_viewer,
    • contains a version property, and,
    • does not contain a publish_to property.

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

31 out of 31 API elements (100.0 %) have documentation comments.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

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 6 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/drift_debug_server_io.dart:755:7

    ╷
755 │       return false;
    │       ^^^^^^^^^^^^^
    ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/drift_debug_server_io.dart:929:60

    ╷
929 │   /// Returns JSON list of column names for GET /api/table/<name>/columns (for SQL autofill).
    │                                                            ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/drift_debug_server_io.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
collection ^1.18.0 1.19.1 1.19.1
crypto ^3.0.3 3.0.7 3.0.7
dart_code_metrics_annotations ^1.1.0 1.1.0 1.1.0
intl ^0.19.0 0.19.0 0.20.2
meta ^1.17.0 1.17.0 1.18.1
url_launcher ^6.2.0 6.3.2 6.3.2
webview_flutter ^4.12.0 4.13.1 4.13.1
webview_flutter_android ^4.10.0 4.10.13 4.10.13
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
material_color_utilities - 0.13.0 0.13.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.24.0 3.24.0

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl 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 2 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/drift_viewer_floating_button.dart:414:5 - The named parameter 'onSslAuthError' isn't defined.
  • UNDEFINED_CLASS - lib/src/drift_viewer_floating_button.dart:414:22 - Undefined class 'SslAuthError'.

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.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
129
downloads

Publisher

unverified uploader

Weekly Downloads

Debug-only HTTP server that exposes SQLite/Drift table data as JSON and a minimal web viewer. Use from any Drift (or raw SQLite) app via an injectable query callback.

Documentation

API reference

License

MIT (license)

Dependencies

collection, crypto, dart_code_metrics_annotations, flutter, intl, meta, url_launcher, webview_flutter, webview_flutter_android

More

Packages that depend on saropa_drift_viewer