firebase_admin 0.3.0+1 copy "firebase_admin: ^0.3.0+1" to clipboard
firebase_admin: ^0.3.0+1 copied to clipboard

A port of the Firebase admin sdk to pure, idiomatic Dart code

92
likes
130/ 160
pub points
1.71k
downloads

We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 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

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected licenses: Apache-2.0, BSD-3-Clause.

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

164 out of 241 API elements (68.0 %) have documentation comments.

Some symbols that are missing documentation: firebase_admin, firebase_admin.AccessToken.AccessToken.new, firebase_admin.AccessToken.expirationTime, firebase_admin.ActionCodeSettings.ActionCodeSettings.new, firebase_admin.AppOptions.AppOptions.new.

Passed check 10/10 points: Package has an example

Failed 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:firebase_admin/firebase_admin.dart that imports:
  • package:firebase_admin/src/credential.dart that imports:
  • package:firebase_admin/src/auth/credential.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_admin/firebase_admin.dart that imports:
  • package:firebase_admin/src/credential.dart that imports:
  • package:firebase_admin/src/auth/credential.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.

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

INFO: Dangling library doc comment.

lib/src/utils/validator.dart:1:1

  ╷
1 │ /// Validates that a string is a valid email.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/validator.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
_discoveryapis_commons ^1.0.4 1.0.7 1.0.7
clock ^1.1.0 1.1.2 1.1.2
collection ^1.15.0 1.19.1 1.19.1
crypto_keys ^0.3.0 0.3.0+1 0.3.0+1
dotenv ^4.0.0 4.2.0 4.2.0
firebase_dart ^1.0.10 1.3.3 1.3.3
firebaseapis >=0.1.2 <0.3.0 0.2.0 0.2.0
gcloud ^0.8.0 0.8.18 0.8.18
googleapis >=0.9.2 <14.0.0 13.2.0 13.2.0
http >=0.13.0 <2.0.0 1.3.0 1.3.0
jose ^0.3.2 0.3.4 0.3.4
meta ^1.4.0 1.16.0 1.16.0
openid_client ^0.4.3 0.4.9 0.4.9
path ^1.8.0 1.9.1 1.9.1
snapshot ^0.2.5 0.2.6+2 0.2.6+2
x509 ^0.2.2 0.2.4+3 0.2.4+3
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.6.0 1.6.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
expressions - 0.2.5+2 0.2.5+2
fixnum - 1.1.1 1.1.1
hive - 2.2.3 2.2.3
http_parser - 4.1.2 4.1.2
intl - 0.19.0 0.20.2
js - 0.7.2 0.7.2
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
petitparser - 6.1.0 6.1.0
pointycastle - 3.9.1 4.0.0
quiver - 3.2.2 3.2.2
retry - 3.1.2 3.1.2
rxdart - 0.28.0 0.28.0
sortedmap - 0.5.4 0.5.4
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.1 3.3.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.1 1.1.1
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.2 3.0.2

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 1 error:

  • UNDEFINED_NAMED_PARAMETER - lib/src/auth/token_generator.dart:115:13 - The named parameter 'payload' isn't defined.

Run dart pub downgrade and then dart 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.22.18, Dart 3.7.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
92
likes
130
points
1.71k
downloads

Publisher

verified publisherappsup.be

Weekly Downloads

A port of the Firebase admin sdk to pure, idiomatic Dart code

Repository (GitHub)

Documentation

API reference

License

Apache-2.0, BSD-3-Clause (license)

Dependencies

_discoveryapis_commons, clock, collection, crypto_keys, dotenv, firebase_dart, firebaseapis, gcloud, googleapis, http, jose, meta, openid_client, path, snapshot, x509

More

Packages that depend on firebase_admin