When performing npm install, the following message appears:
npm WARN deprecated mongodb@1.4.7: Please upgrade to 2.2.19 or higher
With this version of driver, app does not work with mongodb version 3.x, only with 2.x. When running tests with mongodb 3.x, they fail with the message:
MongoError: The field 'strict' is not a valid collection option. Options: { strict: true }
Also current version of driver does not support using promises, that could have make the code much shorter.
When performing
npm install
, the following message appears:With this version of driver, app does not work with mongodb version 3.x, only with 2.x. When running tests with mongodb 3.x, they fail with the message:
Also current version of driver does not support using promises, that could have make the code much shorter.