This repository was archived by the owner on May 17, 2021. It is now read-only.
Commit a41b481
committed
chore: Fix driver deprecation warnings
```
(node:39738) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
```
and
```
(node:39738) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
```1 parent df805e6 commit a41b481
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments