@akemona-org/strapi-connector-mongoose 3.9.0 → 3.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -129,7 +129,6 @@ module.exports = function (strapi) {
129
129
  }
130
130
 
131
131
  instance.set('debug', debug === true || debug === 'true');
132
- instance.set('useFindAndModify', false);
133
132
 
134
133
  const ctx = {
135
134
  instance,
@@ -21,9 +21,7 @@ module.exports = async ({ connection }) => {
21
21
  }
22
22
 
23
23
  connectOptions.ssl = ssl ? true : false;
24
- connectOptions.useNewUrlParser = true;
25
24
  connectOptions.dbName = connection.settings.database;
26
- connectOptions.useUnifiedTopology = true;
27
25
 
28
26
  return Mongoose.connect(
29
27
  `mongodb${srv ? '+srv' : ''}://${connection.settings.host}${
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.9.0",
6
+ "version": "3.9.2",
7
7
  "description": "Mongoose hook for the Strapi framework",
8
8
  "homepage": "https://strapi.akemona.com",
9
9
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "main": "./lib",
20
20
  "dependencies": {
21
- "@akemona-org/strapi-utils": "3.9.0",
21
+ "@akemona-org/strapi-utils": "3.9.2",
22
22
  "lodash": "4.17.21",
23
23
  "mongoose": "6.8.3",
24
24
  "mongoose-float": "1.0.4",
@@ -54,5 +54,5 @@
54
54
  "scripts": {
55
55
  "test": "echo \"no tests yet\""
56
56
  },
57
- "gitHead": "1ad30854d7272bae5e256bc9fa93c6d7194e4652"
57
+ "gitHead": "16bbd007e63e2e06c3e984279ad1115e0da89871"
58
58
  }