Commit 3db88f6
committed
Fixed
This PR updates the `LiteDB` dependency to its latest version and fixes the security vulnerability. For this, following code needed to be replaced.
```cs
this.db.Delete<OfflineEntry>(Query.All());
```
with
```cs
// Only works for v4, v5 see litedb-org/LiteDB#1478
this.db.DeleteMany<OfflineEntry>(_ => true);
```
Fixed #316
Security: GHSA-3x49-g6rc-c284LiteDB security issue1 parent 4171dfe commit 3db88f6
File tree
3 files changed
+10
-6
lines changed- src/Firebase
- Offline
3 files changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
0 commit comments