fake_cloud_firestore 4.0.2
fake_cloud_firestore: ^4.0.2 copied to clipboard
Previously known as cloud_firestore_mocks. Fake implementation of Cloud Firestore. Use this package to unit test apps that use Cloud Firestore.
We analyzed this package 21 hours ago, and awarded it 80 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-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
21 out of 34 API elements (61.8 %) have documentation comments.
Some symbols that are missing documentation: fake_cloud_firestore.FakeFirebaseFirestore, fake_cloud_firestore.FakeFirebaseFirestore.FakeFirebaseFirestore.new, fake_cloud_firestore.FakeFirebaseFirestore.authObject, fake_cloud_firestore.FakeFirebaseFirestore.clock, fake_cloud_firestore.FakeFirebaseFirestore.dump.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: '_DummyTransaction.update' ('Transaction Function(DocumentReference
lib/src/fake_cloud_firestore_instance.dart:233:15
╷
233 │ Transaction update(
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/fake_cloud_firestore_instance.dart
ERROR: 'MockWriteBatch.update' ('void Function(DocumentReference
lib/src/mock_write_batch.dart:22:8
╷
22 │ void update(DocumentReference document, Map<String, dynamic> data) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mock_write_batch.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
^1.1.1 |
1.1.2 | 1.1.2 | |
cloud_firestore |
^6.0.0 |
6.2.0 | 6.2.0 | |
cloud_firestore_platform_interface |
^7.0.0 |
7.1.0 | 7.1.0 | |
collection |
^1.14.13 |
1.19.1 | 1.19.1 | |
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
fake_firebase_security_rules |
^0.5.2 |
0.5.4 | 0.5.4 | |
mock_exceptions |
^0.8.2 |
0.8.2 | 0.8.2 | |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 | |
rx |
^0.4.0 |
0.4.0 | 0.5.0 | |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.68 | 1.3.68 | |
antlr4 |
- | 4.13.2 | 4.13.2 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
cel |
- | 0.5.4+1 | 0.5.4+1 | |
characters |
- | 1.4.1 | 1.4.1 | |
cloud_firestore_web |
- | 5.2.0 | 5.2.0 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_core |
- | 4.6.0 | 4.6.0 | |
firebase_core_platform_interface |
- | 6.0.3 | 6.0.3 | |
firebase_core_web |
- | 3.5.1 | 3.5.1 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
logger |
- | 2.7.0 | 2.7.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.19 | 0.12.19 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
more |
- | 4.7.0 | 4.7.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.10 | 0.7.11 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.4.0` on rx does not support the stable version `0.5.0`.
Try running dart pub upgrade --major-versions rx to update the constraint.
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.
Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.