firebase_dart 1.5.2
firebase_dart: ^1.5.2 copied to clipboard
A port of the Firebase database, auth and storage client to pure Dart code, usable on different platforms
We analyzed this package 9 days ago, and awarded it 120 pub points (of a possible 160):
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
426 out of 752 API elements (56.6 %) have documentation comments.
Some symbols that are missing documentation: auth, core, database, firebase_dart, firebase_dart.ActionCodeInfo.ActionCodeInfo.new.
10/10 points: Package has an example
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
Package not compatible with runtime wasm
Because:
package:firebase_dart/firebase_dart.dartthat imports:package:firebase_dart/core.dartthat imports:package:firebase_dart/src/core.dartthat imports:package:firebase_dart/src/implementation.dartthat imports:package:firebase_dart/auth.dartthat imports:package:firebase_dart/src/auth/auth.dartthat imports:package:firebase_dart/src/auth/recaptcha_verifier.dartthat imports:package:firebase_dart/src/auth/recaptcha_verifier_io.dartthat imports:package:firebase_dart/src/auth/impl/auth.dartthat imports:package:firebase_dart/src/auth/impl/user.dartthat imports:package:firebase_dart/src/auth/authhandlers.dartthat imports:package:firebase_dart/implementation/pure_dart.dartthat imports:package:firebase_dart/src/implementation/pure_dart_setup_web.dartthat imports:dart:html
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 30 issues. Showing the first 2:
INFO: 'allProviders' is deprecated and shouldn't be used. Not supported. Member documentation may have more information.
lib/src/auth/backend/backend.dart:92:9
╷
92 │ ..allProviders = [for (var p in user.providerUserInfo!) p.providerId!]
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/auth/backend/backend.dart
INFO: 'displayName' is deprecated and shouldn't be used. Not supported. Member documentation may have more information.
lib/src/auth/backend/backend.dart:202:9
╷
202 │ ..displayName = user.displayName
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/auth/backend/backend.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_discoveryapis_commons |
^1.0.0 |
1.0.7 | 1.0.7 | |
async |
^2.5.0 |
2.13.0 | 2.13.0 | |
clock |
^1.1.0 |
1.1.2 | 1.1.2 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.0 |
3.0.6 | 3.0.6 | |
expressions |
^0.2.2 |
0.2.5+3 | 0.2.5+3 | |
firebaseapis |
>=0.1.2 <0.3.0 |
0.2.0 | 0.2.0 | |
hive |
^2.0.0 |
2.2.3 | 2.2.3 | |
http |
>=0.13.0 <2.0.0 |
1.5.0 | 1.5.0 | |
intl |
>=0.17.0 <0.21.0 |
0.20.2 | 0.20.2 | |
jose |
^0.3.2 |
0.3.5 | 0.3.5 | |
js |
>=0.6.3 <0.8.0 |
0.7.2 | 0.7.2 | Discontinued |
logging |
^1.0.0 |
1.3.0 | 1.3.0 | |
meta |
^1.3.0 |
1.17.0 | 1.17.0 | |
openid_client |
^0.4.3 |
0.4.9+1 | 0.4.9+1 | |
quiver |
^3.0.0 |
3.2.2 | 3.2.2 | |
rxdart |
>=0.27.0 <0.29.0 |
0.28.0 | 0.28.0 | |
sortedmap |
^0.5.2 |
0.5.4 | 0.5.4 | |
stream_channel |
^2.1.0 |
2.1.4 | 2.1.4 | |
synchronized |
^3.0.0 |
3.4.0 | 3.4.0 | |
uuid |
>=3.0.1 <5.0.0 |
4.5.1 | 4.5.1 | |
web_socket_channel |
>=2.0.0 <4.0.0 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto_keys |
- | 0.3.0+2 | 0.3.0+2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
x509 |
- | 0.2.4+3 | 0.2.4+3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- js.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
UNDEFINED_GETTER-lib/src/auth/rpc/rpc_handler.dart:75:18- The getter 'producerProjectNumber' isn't defined for the type 'GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse'.UNDEFINED_GETTER-lib/src/auth/rpc/rpc_handler.dart:79:21- The getter 'producerProjectNumber' isn't defined for the type 'GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse'.UNDEFINED_SETTER-lib/src/auth/rpc/rpc_handler.dart:723:9- The setter 'playIntegrityToken' isn't defined for the type 'GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest'.
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.24, Dart 3.9.4.
Check the analysis log for details.