DeprecationWarning: collection.update
-
General information:
NodeBB-Version: v1.10.2
MongoDB: v3.6.8
NodeJS: v8.12.0
npm: 6.4.1
OS: Ubuntu 16.04.5 LTS
Language: German (de-DE)
Installation directory: /srv/nodebb/
Guide used: https://docs.nodebb.org/installing/os/ubuntu/
Following warning is shown when users login (and logout?):
(node:12435) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.
Nothing special, but you devs might want to be aware of it.
-
This is likely coming from connect-mongo https://github.com/jdesboeufs/connect-mongo/pull/303/files
-
Thank you.
Suggested Topics
Copyright © 2018 NodeBB | Contributors