Skip to content
GitHub Actions / Analysis of nhost_dart succeeded Nov 14, 2024 in 1m 5s

Package analysis results for nhost_dart

Score

150/160 points
(93.75%)

Supported platforms

  • Flutter
    • android
    • ios
    • windows
    • linux
    • macos
    • web
  • Dart
    • native-aot
      Can be aot compiled with eg. dart2native (Can use dart:io but not dart:mirrors)
    • native-jit
      Can be run with the dart vm in jit mode. (Can use dart:io and dart:mirrors)
    • web
      Can be compiled with DDC and dart2js. (Can use dart:html and friends, not dart:io, dart:mirrors, dart:ffi, etc.)

Details

Follow Dart file conventions (20/30)

❌ 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

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: nhost_dart,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has multiple matching pubspec.yaml with name: nhost_dart.

✔ 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.

Provide documentation (20/20)

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

86 out of 107 API elements (80.4 %) have documentation comments.

Some symbols that are missing documentation: nhost_dart, nhost_dart.ApiException.body, nhost_dart.ApiException.request, nhost_dart.ApiException.response, nhost_dart.ApiException.responseBody.

✔ 10/10 points: Package has an example

Platform support (20/20)

✔ 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

✔ 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Pass static analysis (50/50)

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

Support up-to-date dependencies (40/40)

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

Package Constraint Compatible Latest
http ^1.1.0 1.2.2 1.2.2
http_parser ^4.0.1 4.1.1 4.1.1
logging ^1.1.0 1.3.0 1.3.0
meta ^1.7.0 1.16.0 1.16.0
nhost_auth_dart /github/workspace/packages/nhost_auth_dart 2.2.1 2.2.1
nhost_functions_dart /github/workspace/packages/nhost_functions_dart 2.0.5 2.0.5
nhost_graphql_adapter /github/workspace/packages/nhost_graphql_adapter 4.0.5 4.0.5
nhost_sdk /github/workspace/packages/nhost_sdk 5.3.1 5.3.1
nhost_storage_dart /github/workspace/packages/nhost_storage_dart 2.0.5 2.0.5
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
gql - 1.0.1-alpha+1730759315362 1.0.1-alpha+1730759315362
gql_dedupe_link - 2.0.4-alpha+1715521079596 2.0.4-alpha+1715521079596
gql_error_link - 1.0.0+1 1.0.0+1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.1.0 1.1.0
gql_link - 1.0.1-alpha+1730759315378 1.0.1-alpha+1730759315378
gql_transform_link - 1.0.0 1.0.0
gql_websocket_link - 2.0.1 2.0.1
graphql - 5.2.0-beta.9 5.2.0-beta.9
hive - 2.2.3 2.2.3
jwt_decoder - 2.0.1 2.0.1
nhost_gql_links - 4.0.6 4.0.6
normalize - 0.8.2+1 0.9.1
rxdart - 0.27.7 0.28.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.0 1.1.0
web_socket_channel - 2.4.0 3.0.1
yaml - 3.1.2 3.1.2

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.

Versions