Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for sign-in with id token #149

Merged
merged 4 commits into from
Nov 28, 2024

fix dart linter error

9a435d7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: add support for sign-in with id token #149

fix dart linter error
9a435d7
Select commit
Loading
Failed to load commit list.
GitHub Actions / Analysis of nhost_graphql_adapter succeeded Nov 14, 2024 in 1m 2s

Package analysis results for nhost_graphql_adapter

Score

160/160 points
(100.0%)

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 (30/30)

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

Provide documentation (20/20)

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

7 out of 8 API elements (87.5 %) have documentation comments.

Some symbols that are missing documentation: nhost_graphql_adapter.

✔ 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
graphql ^5.1.3 5.2.0-beta.9 5.2.0-beta.9
http ^1.1.0 1.2.2 1.2.2
meta ^1.7.0 1.16.0 1.16.0
nhost_gql_links /github/workspace/packages/nhost_gql_links 4.0.6 4.0.6
nhost_sdk /github/workspace/packages/nhost_sdk 5.3.1 5.3.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
hive - 2.2.3 2.2.3
http_parser - 4.1.1 4.1.1
jwt_decoder - 2.0.1 2.0.1
logging - 1.3.0 1.3.0
normalize - 0.8.2+1 0.9.1
path - 1.9.1 1.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